Design system for my vibe projects (holocron, holotable, datapad, acolyte, pulse).
Beskar is a shadcn registry. Components ship as source that you copy into an app with the shadcn CLI. There is no npm package.
- Style: shadcn
base-lyraon Base UI - Fonts: Oxanium for UI and headings, JetBrains Mono for code
- Icons: Phosphor
- Corners: square
- Theme: neutral light and dark palettes, status and tone colors, fonts, and motion tokens.
- 33 components: form basics, overlays and menus, and app pieces like sidebar, table, and calendar.
- Hooks: theme preference (light, dark, system) and the mobile breakpoint.
- Skills: one that teaches Claude Code to use Beskar in an app, and one for contributing here.
Storybook: https://beskar.vibeproject.workers.dev
Add the registry to your app's components.json:
{
"registries": {
"@beskar": "https://beskar.vibeproject.workers.dev/r/{name}.json"
}
}Install the theme once, then add items by name:
bunx shadcn add @beskar/theme
bunx shadcn add @beskar/button @beskar/dialogEach component pulls in the theme, utils, and the components it builds on.
If you build the app with Claude Code, install the Beskar skill:
bunx shadcn add @beskar/claude-skillIt lands at .claude/skills/beskar-ui/SKILL.md in the app. It covers setup, the component catalog, composition, theming, motion, and the accessibility rules. Run the command again to update it.
bun install
bun run storybook # Storybook on :6006
bun run build:registry # registry JSON into public/r
bun run sync:theme # after editing registry/beskar/globals.cssBefore calling a change done:
bun run build:registry && bun run check && bunx tsc --noEmit && bun run testSee AGENTS.md for the repo layout and rules. To add a component, follow the recipe in .claude/skills/beskar-component. Claude Code loads it in this repo as /beskar-component.
Merges to main deploy to Cloudflare Workers after CI passes. Storybook is at the root and the registry JSON is under /r.
The deploy needs two repository secrets:
CLOUDFLARE_API_TOKEN: a token with the "Edit Cloudflare Workers" templateCLOUDFLARE_ACCOUNT_ID
Without them the deploy job is skipped and the run stays green.
MIT