OPEN-UI

Speed Dial

FAB that expands into a radial menu of actions. Compound component: Root, Trigger, Item. Supports spread angle and direction.

360°

180° Down

180° Up

90° Right

90° Down

90° Left

90° Up

Install

Use Open-UI CLI or Shadcn CLI to install the component.

Open-UI CLI

Shadcn CLI

Usage

ItemPropDefaultDescriptionType
RootchildrenRoot: Trigger and Item components. Trigger: optional icon or label for the FAB. Item: icon or label for the action button.ReactNode
RootspreadRangeAngle90Total angle (degrees) the items spread over. e.g. 360 full circle, 180 half, 30 narrow.number
RootdirectionAngle90Direction of the fan: 0° = right, 90° = down, 180° = left, 270° = up.number
Rootradius120Distance from trigger to each item (px).number
RootitemSize"default"Default size for all SpeedDial.Item children (sm, default, lg)."sm" | "default" | "lg"
RootclassNameOptional CSS class for the Root container.string
Triggervariant"default"Trigger button style: default, outline, or secondary."default" | "outline" | "secondary"
Triggersize"default"Trigger or Item size: default, sm, or lg. On Item, overrides Root's itemSize."default" | "sm" | "lg"
TriggerchildrenRoot: Trigger and Item components. Trigger: optional icon or label for the FAB. Item: icon or label for the action button.ReactNode
ItemchildrenRoot: Trigger and Item components. Trigger: optional icon or label for the FAB. Item: icon or label for the action button.ReactNode
Itemsizefrom RootTrigger or Item size: default, sm, or lg. On Item, overrides Root's itemSize."sm" | "default" | "lg"
ItemclassNameOptional CSS class for the Root container.string
ItemonClickCallback when the Item is clicked (menu closes after).() => void

Related Components