FloatButton

A button that floats above the content rather than sitting in it, on its own or as a group that opens on click or hover.

Anotomy

Structure of the float button and how its internal parts are composed. These are its semantic parts, so they are also what the classNames and styles objects accept. The badge and tooltip are separate components with their own parts.

FloatButton

FloatButton anotomy
NameDescription
1rootThe floating button, fixed to the corner of the page. shape makes it a circle or a square, and type fills it with the brand color.
2iconThe node from icon.
3contentThe text under the icon, from content. It only fits a square button.

FloatButton.Group

The group takes its own classNames, keyed by these eight parts.
FloatButton.Group anotomy
NameDescription
1rootThe whole group, fixed to the corner of the page.
2listThe stack of buttons. With trigger it opens and closes as a menu.
3itemOne button in the stack.
4itemIconAn item's icon.
5itemContentAn item's text.
6triggerThe button that opens the menu, when trigger is set.
7triggerIconThe trigger's icon. closeIcon replaces it while the menu is open.
8triggerContentThe trigger's text.