Emphasis
Size
Icon content
Width
Loading
Result
Press an action. The face stays seated while it reads the result, then lifts. This local demo copies and publishes nothing.
A direct action with clear emphasis and a predictable result.
Measured parts, with contact expanded 18×.
Su uses the Quiet instrument direction. Use the mode switcher above to see light and dark.
Emphasis
Size
Icon content
Width
Loading
Result
Press an action. The face stays seated while it reads the result, then lifts. This local demo copies and publishes nothing.
| Prop | Values | Default |
|---|---|---|
| variant | primary | secondary | quiet | danger | primary |
| size | small | default | large | default |
| leadingIcon | SVG component (Iconoir-compatible) | — |
| trailingIcon | SVG component (Iconoir-compatible) | — |
| trailingAction | decorative SVG component | — |
| block | boolean | false |
| loading | boolean | false |
| loadingAnnouncement | string | Loading |
| type | button | submit | reset | button |
| disabled | boolean | false |
import { Button } from '@zao/react';
import { Copy } from 'iconoir-react';
<Button leadingIcon={Copy} loading={saving} loadingAnnouncement="Saving draft.">
Save draft
</Button>Button uses a native button through Base UI, with keyboard activation and a stationary focus outline. Icons are decorative. Disabled buttons skip the tab order. Loading buttons remain focusable, expose busy and disabled semantics, and block repeat activation while preserving their accessible name and width. A polite status announces loading; reduced motion keeps the spinner still.