Fluid 1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
FabMenuItem Class Reference

A pill-shaped action inside a Material Design 3 Expressive FAB menu. More...

Inheritance diagram for FabMenuItem:

Detailed Description

A pill-shaped action inside a Material Design 3 Expressive FAB menu.

FabMenuItem lays out an optional leading icon and a text label inside an elevated pill container. Its colors default to the colors of the FAB menu that owns it, so a menu renders as a single coherent group.

Items declared as children of a FabMenu are bound to it automatically and enter and leave with a staggered spring, so the item nearest the toggle button moves first, as the staggered list entrance of the specification requires. A fully collapsed item is hidden and accepts no input. Leading and trailing content and the text alignment mirror automatically for right-to-left locales.

An item can be driven by an existing action:

MD.FabMenuItem {
action: newDocumentAction
}

For more information see the Material Design 3 FAB menu guidelines.

Definition at line 32 of file FabMenuItem.qml.


The documentation for this class was generated from the following file: