Code Block
A clean code block that builds its entire theme from a single accent color. Pass code and a hex, it does the rest.

- Library
- Rare UI
- Framework
- React
- Type
- ui
- License
- Commons-Clause+MIT
- Dependencies
- lucide-react, motion, prism-react-renderer
- Install
npx shadcn@latest add swamimalode07/rare-ui/code-block- Files
components/ui/code-block.tsxlib/utils.ts
- Source
- https://github.com/swamimalode07/rare-ui
Categories
- Code Block Components
- React Code Block Components
- Tailwind CSS Code Block Components
- Animated Code Block Components
- Dev Tool Components
- React Dev Tool Components
- Tailwind CSS Dev Tool Components
- Animated Dev Tool Components