FloatingActionButton
Fixed-position button with optional speed-dial action list.
Installation
Examples
Speed dial
Expands to reveal action buttons on click.
New post
Upload
Share
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| icon | ReactNode | — | Main icon (defaults to Plus). |
| label | string | 'Open actions' | Accessible label. |
| actions | FABAction[] | [] | Speed-dial actions shown when expanded. |
| position | 'bottom-right'|'bottom-left'|'bottom-center' | 'bottom-right' | Screen position. |
| size | 'sm'|'md'|'lg' | 'md' | Controls button size. |
| onClick | () => void | — | Click handler when no actions. |