structyl

Speed Dial API

View component

The full prop reference for the Speed Dial component. A floating action menu.

Import

tsx
import { SpeedDial } from '@structyl/styled';

Props

SpeedDial.Root

Floating action menu root.

PropTypeDefault
open | defaultOpen#boolean

Controlled or uncontrolled open state.

onOpenChange#(open: boolean) => void

Open state callback.

direction#'up' | 'down' | 'left' | 'right'

Action expansion direction.

'up'
hidden#boolean

Unmount the speed dial.

false
className#string

Additional Tailwind classes merged with the component defaults.

SpeedDial.Trigger

Floating trigger.

PropTypeDefault
icon | openIcon#React.ReactNode

Closed and open icons.

className#string

Additional Tailwind classes merged with the component defaults.

SpeedDial.Action

Action button.

PropTypeDefault
tooltipTitle#React.ReactNode

Tooltip text.

tooltipOpen#boolean

Force tooltip visible.

false
className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library