Floating Action Button

Deprecated! Please use SpeedDial.

Based on Google Material Design. A floating action button (FAB) represents the primary action of a screen.

Floating Action Button
Components and more
Documentation pe:fab
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding An el expression referring to a server side UIComponent instance in a backing bean.
model MenuModel instance to create menus programmatically.
tabindex Position of the items in the tabbing order. Default is 0.
icon Icon for the main button. Default value is "pi pi-plus".
iconActive Active variant of the icon for the main button. Default value is null.
keepOpen Keep the menu open when an item is clicked. Default value is false.
widgetVar Name of the client side widget.
styleClass Style class of the main container element. Default value is null.
style Style of the main button element. Default value is null.
PrimeFaces Extensions Showcase - © 2011-2021,PrimeFaces: 11.0.0,PrimeFaces Extensions: 11.0.3,JSF: Apache MyFaces JSF-2.3 Core API 2.3.9,Server: jetty/9.4.36.v20210114,Build time: 2022-04-17 14:55