Code block
Present code with legible hierarchy and copy access.

- Library
- Arc Library
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- lucide-react, motion
- Install
npx shadcn@latest add https://uiarc.dev/r/code-block.json- Files
registry/components/code-block/code-block.tsxregistry/components/code-block/code-block.module.cssregistry/components/copy-button/copy-button.tsxregistry/components/copy-button/copy-button.module.csslib/use-copy-feedback.tsregistry/motion-tokens.tslib/motion-tokens.ts
- Source
- https://github.com/kuratlielia/arc-library
Categories
- Code Block Components
- React Code Block Components
- Animated Code Block Components
- Dev Tool Components
- React Dev Tool Components
- Animated Dev Tool Components