@vlvethund/boardgame-kit
v0.1.0
Published
Composable React primitives for card, board, token, dice, and custom tabletop game interfaces.
Readme
@vlvethund/boardgame-kit
Composable React primitives for building custom card and board game interfaces.
Install
npm install @vlvethund/boardgame-kitThe package name is prepared for npm publishing. Change the scope/name in package.json before publishing if you want to use a different npm account or organization.
Usage
import { Board, Deck, Hand, Zone } from '@vlvethund/boardgame-kit';
import '@vlvethund/boardgame-kit/styles.css';The package exports card, token, dice, zone, board, drag layer, controller, and generic game kit primitives.
Local Development
From the workspace root:
npm run dev
npm run build
npm run pack:kitnpm run pack:kit builds the package and creates a local npm tarball that can be installed from another project.
