Extended FAB Variants
Extended FAB Width Options
Extended FAB Disabled
Extended FAB Positions
Animated Extended FAB
Extended FAB Interaction
Extended FAB Collapse on Scroll
This demo shows how an Extended FAB collapses when scrolling down and expands when scrolling up.
In a real application, the Extended FAB would be fixed to the viewport.
Scroll to see the Extended FAB collapse
This is a demonstration of the Extended FAB with collapseOnScroll: true
.
Scroll down to see the FAB collapse into a standard FAB.
Scroll back up to see it expand again.
This behavior is useful in long scrolling views to save space while still providing access to the primary action.
When you scroll to the bottom, the Extended FAB should be expanded again.
Programmatic Collapse/Expand
Extended FABs can also be collapsed and expanded programmatically: