Search

Search components and blocks

Sign in

Stitched Button

Pro

A gradient button with a solid outer ring and a dashed white line stitched just inside it, in six colors. Hover lifts it while the arrow slides forward; press springs it down.

pnpm dlx shadcn@latest add @ditherui/stitched-button

Props

color"violet" | "orange" | "blue" | "emerald" | "rose" | "slate""violet"
childrenReact.ReactNode—
size"sm" | "md" | "lg""md"
loadingbooleanfalse

When to use the button

Use these buttons for primary and secondary actions where plain color changes feel flat. Variants cover gradient calls to action, bevel, emboss and stitched looks, blur on hover, and a button that swaps its label to confirm an action.

  • Run the shadcn CLI with the name of the button variant you want. Each variant is its own source file you own.

Suggested components