Skip to main content
All Claymorphism components

Code block

Shows a piece of code under a caption, with a control that copies it.

npx shadcn@latest add @designprompts/claymorphism/code-block
PreviousNext

Claymorphism

save.tsx
import { Button } from "@/components/ui/button";

export function Save() {
  return <Button>Save</Button>;
}

Copied 0 times.