Docs
Set up the jar.
What you need
A shadcn project with React 19, Tailwind CSS v4 and motion. Each piece installs with the shadcn CLI as source you own, in components/mu/<id>/, with a shared foundation.css, motion.ts and sounds.ts. It reads your theme’s colour roles and follows .dark.
Install the free piece
npx shadcn@latest add https://cottoncandy.dev/r/daylight-switch.jsonPro pieces
Pro pieces install through the @mu-pro registry with a licence key. Checkout opens soon; until then Pro installs are closed. Every piece runs live on its block page.
For your agent
Claude Code, Cursor, Codex and other agents can read every piece’s docs:
- /llms.txt: the index, with the install rules for agents.
/md/<id>.md: one page per piece (props, sizing, sound, reduced motion), for example /md/disco-ball.md.- The rules skill:
npx shadcn@latest add https://cottoncandy.dev/r/rules.jsoninstalls our rules for agents as a Claude Code skill; other tools can read /md/rules.md.
Every block page has a Copy prompt button with a ready prompt for that piece.
The pieces
- Daylight switch · Free
- Vinyl player · Pro
- Page scanner · Pro
- Tape recorder · Pro
- Record button · Pro
- Voice composer · Pro
- Ripple grid · Pro
- Disco ball · Pro