Floating button group
CoreSeparate soft buttons in a quiet tray, with one shared highlight that morphs from button to button as you move, and a pressed state that settles in place.
pnpm dlx shadcn@latest add https://wui.alann.works/r/floating-button-group.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
items* | readonly FloatingButtonGroupItem[] | required |
label* | string | required |
variant | FloatingButtonGroupVariant | — |
size | FloatingButtonGroupSize | — |
orientation | FloatingButtonGroupOrientation | — |
iconOnly | boolean | — |
tooltipSide | "top" | "bottom" | "left" | "right" | — |
onAction | (id: string) => void | — |
className | string | — |
style | CSSProperties | — |