React Chessboard UI

v
menu
hide

Migration notes

The package build has moved from create-react-library / microbundle-crl to Vite library mode.

Package artifacts

Published package artifacts:

The package uses exports for the public entry points:

CSS

CSS is injected automatically by default. Importing the package once adds a browser style tag with the id react-chessboard-ui-styles.

Recommended usage:

import { ChessBoard } from "react-chessboard-ui";

Manual CSS import is optional. Existing code continues to work:

import "react-chessboard-ui/style.css";

// Legacy path, still supported:
import "react-chessboard-ui/dist/index.css";

Compatibility

The public component API did not change. This is not a breaking change for users who already imported CSS manually, because the old CSS path remains supported.

If styles are missing while using an older package version, import react-chessboard-ui/dist/index.css manually or upgrade to a version with automatic style injection.