Dev Design Library

Code Block

A shadcn code block with Shiki syntax highlighting, streaming, diffs, code folding and per-line interaction for AI chat and agent UIs.

Code Block preview
Library
ReUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @reui/code-block
Files
  • registry-reui/bases/radix/reui/code-block/code-block-highlight.tsx
  • registry-reui/bases/radix/reui/code-block/code-block.tsx
  • registry/bases/radix/ui/button.tsx
Source
https://github.com/keenthemes/reui

Categories

More from ReUI