Code block
Displays a code snippet with an optional caption, language label, wrapping, and copy feedback.

- Library
- Cojeev UI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- [email protected]
- Install
npx shadcn@latest add https://cojeev.com/ui/r/code-block.json- Files
registry/cojeev/ui/code-block.tsxregistry/cojeev/styles/code-block.cssregistry/cojeev/lib/utils.tsregistry/cojeev/lib/appearance-tokens.tsregistry/cojeev/lib/assembly-geometry.tsregistry/cojeev/lib/bento-layout.tsregistry/cojeev/lib/bloom-engine.tsregistry/cojeev/lib/chart-geometry.ts
- Source
- https://github.com/luv-jeri/cojeev-ui
Categories
- Code Block Components
- React Code Block Components
- Tailwind CSS Code Block Components
- shadcn/ui Code Block Components
- Dev Tool Components
- React Dev Tool Components
- Tailwind CSS Dev Tool Components
- shadcn/ui Dev Tool Components