Monorepo for hiraki, a zero-dependency React drawer component library.
packages/
hiraki/ # the library (published to npm as "hiraki")
apps/
website/ # marketing and documentation site (Next.js)
Requires Node 18+ and pnpm.
pnpm install pnpm turbo dev
Run only the website:
pnpm turbo dev --filter=website
Build everything:
pnpm turbo build
Run tests:
pnpm turbo testThe library lives at packages/hiraki. It has no runtime dependencies — React >=18 is the only peer dep. Built with tsup to ESM and CJS, with TypeScript declarations.
See packages/hiraki/README.md for usage documentation.
The documentation and marketing site lives at apps/website. Built with Next.js, Tailwind v4, and hiraki itself for all drawer demos. No other UI library.
Open an issue before starting work on a large change. For small fixes, a PR is fine directly.
Tests live in packages/hiraki/src/__tests__. Run pnpm turbo test before pushing.
MIT