Speed Dial API
View componentThe 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.
| Prop | Type | Default |
|---|---|---|
| open | defaultOpen# | booleanControlled or uncontrolled open state. | — |
| onOpenChange# | (open: boolean) => voidOpen state callback. | — |
| direction# | 'up' | 'down' | 'left' | 'right'Action expansion direction. | 'up' |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
SpeedDial.Trigger
Floating trigger.
| Prop | Type | Default |
|---|---|---|
| icon | openIcon# | React.ReactNodeClosed and open icons. | — |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
SpeedDial.Action
Action button.
| Prop | Type | Default |
|---|---|---|
| tooltipTitle# | React.ReactNodeTooltip text. | — |
| tooltipOpen# | booleanForce tooltip visible. | false |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
Source code
If you didn't find what you need here, read the component implementation .