Appearance
The FloatingToolbar lets you customize its size and fill mode.
The following example demonstrates the available appearance options.
Size
To specify the size of the FloatingToolbar, use the size prop. The available values are:
smallmediumlarge
If you do not set size, the currently applied theme controls the size.
The following example demonstrates the available sizes side by side.
Fill Mode
To set the fill mode of the Toolbar hosted inside the FloatingToolbar, use the fillMode prop. The available values are:
solidflatoutline
If you do not set fillMode, the currently applied theme controls the fill mode.
The FloatingToolbar forwards
fillModeto its hosted Toolbar, but not to child tools. SetfillModeon each child Button to apply a fill mode to those buttons as well.
The following example applies each available fill mode to the FloatingToolbar and its child tools.