React

Floating Action Button

A button that floats on the screen and executes the primary action.

Available since@seed-design/react@0.0.30, @seed-design/css@0.0.30

Installation

npx @seed-design/cli@latest add ui:floating-action-button

Props

Prop

Type

iconReact.ReactNode
labelReact.ReactNode

Examples

Extended

You can control label display and layout using the extended prop.

Regardless of whether extended is used, label is a required prop for accessibility.

Float Composition

Floating Action Button is convenient to use with the <Float> component.

Table of contents