What's in Shavin
Shavin is a component library plus the tools that keep people and agents using it correctly. You can adopt the components alone and add the rest when you need it.
The parts
| Part | Package | What it does |
|---|---|---|
| Components and tokens | @shavin/ui | 94 React primitives on Radix, semantic tokens, 16 themes and 24 brand presets, charts, and the in-browser inspector. Tailwind v3 or v4, RGB or OKLCH. |
| CLI | @shavin/cli | init sets up a project, add copies a block into it, list shows blocks, brand generates brand tokens, check verifies the setup, context writes a prompt brief, and bridge starts the live audit server. |
| MCP server | @shavin/mcp | 32 tools for AI agents: component and token lookups, page planning, validation and autofix, live audit, and Studio control. Works in Claude Code, Cursor and VS Code. |
| Agent skills | @shavin/skills | 9 skills that teach agents the rules for apps, pages, layout compositions and motion, plus the shavin-lint-tokens linter. |
| Blocks | npx @shavin/cli add | 59 free blocks (sign-in, pricing, dashboards, settings, marketing sections) and pro blocks, installed as plain source you own. |
| Studio | studio.shavin.cc | A visual canvas with a motion timeline. It reads and writes the same TSX your code uses, and agents can build on it. |
| FX | @shavin/fx | About 70 animated effects (shaders, dot fields, dithering, glass, transitions) usable as section backgrounds. Most are free; a few polished ones are Pro, in early access. |
How they fit together
01
Install
npx @shavin/cli init sets up components, Tailwind, the theme and your agent.
02
Brand
One brandColor on ThemeProvider themes everything.
03
Build
You, your agent or Studio build screens from components and blocks.
04
Check
validate_code and audit_source on the code, the live bridge on the page, the linter in CI.
From install to checked code. Each step is optional after the first.