Skip to content

FABs ​

Floating action buttons (FABs) help people take primary actions. They’re used to represent the most important action on a screen, such as Create or Reply.

Overview · Specs · Guidelines · Accessibility

FABs

  • Use a FAB for the most common or important action on a screen
  • Make sure the icon in a FAB is clear and understandable
  • FABs persist on the screen when content is scrolling
  • Three variants: FAB, medium FAB, large FAB

The 3 sizes of floating action buttons.

  1. FAB
  2. Medium FAB
  3. Large FAB

Availability & resources ​

TypeResourceStatus
DesignDesign Kit (Figma)Available
ImplementationFlutterAvailable
ImplementationJetpack ComposeAvailable
ImplementationJetpack Compose: ExpressiveAvailable
ImplementationAndroid Views (MDC-Android)Available
ImplementationAndroid Views (MDC-Android): ExpressiveAvailable
ImplementationWebAvailable
ImplementationWeb: ExpressiveUnavailable

M3 Expressive update ​

May 2025

The FAB has new sizes to match the extended FAB and more color options. The small FAB is no longer recommended. More on M3 Expressive

Variants and naming:

  • Added medium FAB size
  • Small FAB size is no longer recommended
  • FAB and large FAB sizes are unchanged
  • FAB variants are based on size, not color

Color:

  • Added tone color styles: 

    • Primary
    • Secondary
    • Tertiary
  • Renamed existing tonal color styles to match their token names: 

    • Primary to Primary container
    • Secondary to Secondary container
    • Tertiary to Tertiary container
    • The values haven't changed
  • Surface color FABs are no longer recommended

4 FABs showing the colors available after the expressive update.

FABs have updated colors and sizes

Differences from M2 ​

M2 circular FAB with a plus icon.

M2: FABs are circles and always have a drop shadow

M3 rounded corner square FAB with an artist’s palette icon.

M3: FABs have a boxier shape, can use dynamic color, and include a new large FAB variation

Unofficial offline mirror. Content © Google, licensed under CC BY 4.0.