Copy Command

CLI code line with a chevron prefix and a copy button that flips to a check.

pnpm dlx shadcn@latest add button

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Terminal2 } from "@/components/beste/piece/terminal2";

<Terminal2
  command="pnpm dlx shadcn@latest add button"
/>