Command Palette

Search for a command to run...

Code

Displays a code component.

Installation

pnpm dlx shadcn@latest add https://nds.aboalrejal.com/r/code.json

Usage

This component is generated automatically. To see advanced interactive demos, please refer to the original source code.

import { Code } from "@/components/ui/code"

export default function Example() {
  return (
    <Code>
      Example
    </Code>
  )
}