A component used to display inline code, with ability to copy the content by a button.
import { Code } from '@/components/ui/code'; export default function Component() { return <Code showCopyButton>npm install @reui/ui</Code>; }
Part of ReUI — browse the full library on 21st.dev.