Rebar UI

1.0

opinion

SpeedDial

A floating button that opens into a short list of labelled actions.

Create menuClick the button to fan out the actions
Custom icon
Opens left

In context

Projects tabThe button floats above the tab bar, closed and open
Projects
Harbour rebrandBrand, due 24 Oct
On track
Tideline mobileProduct, due 7 Nov
Review
Crew interviewsResearch, due 17 Oct
Late
Rota exportOperations, due 10 Oct
Done
Projects
Harbour rebrandBrand, due 24 Oct
On track
Tideline mobileProduct, due 7 Nov
Review
Crew interviewsResearch, due 17 Oct
Late
Rota exportOperations, due 10 Oct
Done

Props

PropTypeRequiredDefault
iconReactNodeNo—
actionsSpeedDialAction[]Yes—
openboolean | undefinedNo—
defaultOpenboolean | undefinedNo—
onOpenChange((open: boolean) => void) | undefinedNo—
direction"up" | "down" | "left" | "right" | undefinedNoup

data-rebar-* attributes

data-rebar-component="speed-dial", data-rebar-direction; the trigger and each action carry data-rebar-part="trigger" | "action".

Migrating to Ant Design

AntD's own FloatButton.Group (with trigger="click") is a close direct equivalent.