Skip to main content

Examples

Default

Disabled

With Tooltip

Desktop Placement

Mobile Placement

Props

FloatingActionButton

A circular, elevated button for the single most important action on a screen (e.g. creating new content). Unlike IconButton, it always floats above page content with a drop shadow and is meant to be positioned by the consumer (e.g. fixed bottom-6 right-6) rather than inline in a toolbar or action row. Requires an accessible name — pass aria-label or aria-labelledby, since the icon alone doesn’t convey the action to screen readers.
ReactNode
required
Icon to render inside the button. Pass an icon component (e.g. <AddIcon />).

Exported types

Also exported from @fanvue/ui: FloatingActionButtonProps.
Setup: Installation · Theming