Skip to main content
ActionsLevel 2

Extended FAB

扩展悬浮按钮

Android MD3MobileAndroidDifficulty: Medium

The hallmark floating button of Material Design 3 — displaying icon and label at rest, collapsing into a circular icon on scroll.

01

Live Demo

Actually clickable
Live Demo Playground
模拟页面滚动状态:
Material Design 3 规范:静止时展开展示图标与文字,模拟向下滚动时自动折叠为小圆点以让渡正文阅读空间。

What you just saw:The oval pill "Compose" button at the bottom-right of Gmail mobile that collapses into a pencil circle when scrolling through emails.

02

What it actually is

Extended Floating Action Button is a core Material Design 3 component representing the primary constructive action on a screen (e.g. Compose, New Task, Add). It resolves the cognitive ambiguity of icon-only FABs by presenting an explicit text label alongside the icon. When the user scrolls down, it smoothly collapses into a circular icon to maximize content readability, re-expanding when idle.

extended fabfloating action pillcollapsible fabmaterial 3 fabpill fab
03

Anatomy · What it's made of

  1. Container椭圆胶囊容器

    MD3 default 56px height capsule with 16px corner radius

  2. Icon操作图标

    24px leading vector icon such as plus or edit

  3. Label操作文案

    Action verb label like Compose or Create

04

When to Use

When it fits, and when it doesn't
Extended FAB usage recommendations
SituationUse it?
The screen has one dominant constructive action (New Email, Create Post, Add Task)Yes
An icon alone is ambiguous and requires clear text to avoid hesitationYes
Long scrolling feeds where the button should collapse to save vertical spaceYes
Screens with multiple competing primary actionsNo

Never place two floating action buttons on the same screen.

Ensure a generous bottom padding (pb-24) on the scrollable container so content is never occluded.

05

Similar Patterns

Don't mix these up
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Build a Material Design 3 Extended FAB: floating bottom-right capsule with icon and text label, collapsing into a circle when scrolling down, and re-expanding when idle.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Pin a big button with text to the bottom right.

Say this instead

Follow Material Design 3 Extended FAB specification: bottom-right capsule at rest, collapsing to circular icon during scroll, with appropriate content bottom inset.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.