Expanding button group
CoreIcon buttons in a compact group: the one you point at or focus grows to reveal its label while its neighbours slide aside, and an action confirms in place.
pnpm dlx shadcn@latest add https://wui.alann.works/r/expanding-button-group.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
items* | readonly ExpandingButtonGroupItem[] | required |
label* | string | required |
size | ExpandingButtonGroupSize | — |
defaultExpanded | string | null | — |
onAction | (id: string) => void | — |
confirmDuration | number | — |
className | string | — |
style | CSSProperties | — |