Skip to content

FAB ​

Floating action buttons represent the primary action on a screen.

Import ​

js
import { MdFab, MdBrandedFab, MdFabExtended } from 'vue-material-3';

Usage ​

vue
<MdFab icon="add" size="small" />
<MdFab icon="add" />
<MdFab icon="add" size="large" />

<MdBrandedFab icon="local_taxi" />
<MdBrandedFab icon="local_taxi" size="large" />

<MdFabExtended icon="add" label="Create" />

Sizes ​

  • MdFab supports small, default, and large sizes through the size prop.
  • MdBrandedFab supports default and large sizes through the size prop.
  • MdFabExtended uses its extended layout rather than the circular size variants.

Storybook ​

Use Storybook for FAB variants.