Button

Displays a button or a component that looks like a button.

npx shadcn@latest add button

Default

Variants

Six variants for different emphasis levels.

Sizes

Small, default, large and icon-only.

With icon & states

Buttons can hold icons and reflect loading / disabled states.