Button Recipes

Button recipes

Production button states: variants, sizes, disabled links, loading, and destructive confirms.

Primary
Selected variant Primary
active CTA
Saved 0
successful submits
Destructive 0
confirmed actions
Actions 0
this session

Variant controls

Primary action pattern

The save button defaults to type="button", disables while saving, and uses an inline spinner with an accessible label.

Size and composition

Billing unavailable

Button recipe: Primary variant; initial button recipe.

Attribute Type Documentation Default Value

In order to use playground, you must define your component attributes.