Dev Design Library

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.

Code Block preview
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.tsx
  • lib/utils.ts
Source
https://github.com/swamimalode07/rare-ui

Categories

More from Rare UI