Actions Button

Components

Button

Triggers an action. One primary action per view.

Variants

Sizes

Disabled

Icons & shapes

Square is the default; add rounded-full for a circle shape. A leading icon is a prefix, a trailing icon a suffix.

Rounded

Loading

A Spinner in the slot plus disabled gives the loading state — the button stays focusable and announces to screen readers.

Button group

Wrap related buttons in ButtonGroup to seam them into a single segmented control. The Button Group page covers separators, sizes and inputs.

Custom & render

Read the docs

Override colors with className for custom buttons. Base UI uses render={<a/>} instead of shadcn’s asChild.

Markdown for agents: /design/button.md · spec: /design.md