

Every state


default


hover


focus


arrows


pressed


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "toolbar" | Id of the toolbar; the labels hang off it. |
| label | string | "Text formatting" | Accessible name of the toolbar. |
| groups | ButtonToolbarGroup[] | [ { id: "format", label: "Style", items: [ { id: "bold", label: "Bold", icon: "bold", shortcut: "Meta+B", shortcutTex… | Groups. |
| onPressedChange | (id: string, pressed: boolean) => void | – | Called with a toggle's id and whether it is now pressed. |
| onAction | (id: string) => void | – | Called with a plain action's id. |
| className | string | – | Extra classes on the outer element. |
More buttons
All 14button-12 is in UI ProGet UI Pro, €199


