Dev Design Library

Code Block

A code block with a label, a copy button, and light coloring for keywords, strings, comments and numbers, with no highlighter dependency.

Code Block preview
Library
EaseUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @easeui/code-block
Files
  • components/motion/code-block.tsx
  • components/motion/copy-button.tsx
  • lib/utils.ts
Source
https://github.com/rjcuff/easeui

Categories

More from EaseUI