Code block

Core

Present code with legible hierarchy and copy access.

pnpm dlx shadcn@latest add https://wui.alann.works/r/code-block.json
install.shtsx
npx shadcn@latest add https://wui.alann.works/r/dock.json

API Reference

PropTypeDefault
code*stringrequired
filenamestring—
languagestring—
maxLinesnumber—
Categories
data
Dependencies
lucide-reactmotion