Fab

The Fab component creates a floating action button that stays fixed in the bottom corner of the screen. When clicked or focused, it reveals additional action buttons in a vertical list or quarter-circle arrangement. The component uses CSS-only behavior with :focus-within for opening/closing, requiring no JavaScript.

FabTrigger

The FabTrigger component is the main button that opens the FAB speed dial. It automatically handles the Safari focus workaround by rendering as a focusable div with proper ARIA attributes. Apply button classes and styling via attributes.

FabClose

The FabClose component replaces the main FAB button with a close button when the FAB is open. Cannot be used together with FabMainAction (mutually exclusive).

FabMainAction

The FabMainAction component replaces the main FAB button with a different action button when the FAB is open. Cannot be used together with FabClose (mutually exclusive).