Cnippet UI
Accessible, copy-paste React components built on Base UI + Tailwind CSS.
Like shadcn/ui — but powered by Base UI instead of Radix.
· · ·
Built on — fully accessible, copy-paste friendly, and production-ready.
Why Cnippet UI?
Quick Start
Then import:
40+ Components · 8 Categories
Actions
Data Display
Feedback
Forms
Layout
Navigation
Overlays
Pickers
Architecture
cnippet ui uses a layered approach:
- Primitives — Unstyled, accessible building blocks powered by Base UI (the foundation)
- Particles — Pre-assembled components like auth forms, tables, and date pickers (the patterns)
- Atoms — API-enhanced particles that integrate with external data and services (the integrations)
This is a app within a monorepo, documented with .
Styling
Components use a design token system based on CSS variables, compatible with shadcn/ui tokens. Additional tokens:
--destructive-foreground— Destructive action foreground--info/--info-foreground— Info state colors--success/--success-foreground— Success state colors--warning/--warning-foreground— Warning state colors
See the for full details.
Migrating from shadcn/ui
cnippet ui is inspired by shadcn/ui. If you're migrating from Radix UI or shadcn/ui, each component includes comparison notes and examples for translating equivalents to Base UI, preserving accessibility, behaviors, and API patterns.
Contributing
Contributions are welcome! Please read to get started.
Built on the Shoulders of Giants
cnippet ui would not exist without these incredible projects:
- — The accessible primitive layer
- — Inspiration for the copy-paste model
- — Utility-first styling
- — Documentation framework
- — Original accessible primitives inspiration
Development
Open to view the documentation site.
License
MIT — see for details.