Elements

Components

Float Button

The group's openness, shared from the mooring to its parts.

#Basic usage

float-button/basic Vue React

Nothing chosen yet.

float-button/controlled-open Vue React

Nothing chosen yet.

#Props

#FloatButtonRoot

A floating action and its fanned-out alternatives — FAB and speed dial in one family. The Root moors the group at a page corner and holds the openness (mirrored from open when controlled); the Trigger flips it; each Item is a round action with its name surfacing beside it while the group is open. The buttons are the shared recipe (vessels here: round); this family owns only the mooring, the fan and the fold.

PropTypeDefaultDescription
openBooleanundefinedControlled openness: leave unset to let the group hold its own state; while set, the Trigger reports back through update:open.
placementString as PropType<FloatButtonPlacement>"bottom-end"Which corner the group moors at.
sizeString as PropType<FloatButtonSize>"lg"One rung of the button ladder for the whole group.

#FloatButtonTrigger

PropTypeDefaultDescription
labelStringundefinedThe accessible name; the control is icon-only.

#FloatButtonItem

PropTypeDefaultDescription
labelStringThe action's name: the button's accessible name and the annotation surfaced beside it while the group is open.
disabledBooleanfalse—