arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
Legend
Legend creates a key for a map and is useful for displaying titles, descriptions, and keys for what is being mapped.

Features include:
  • Horizontal or Vertical display

A typically area of application is anywhere you need to show a key such as a map or PrimeFaces Timeline.

Based on TileMill CSS Legend.

Legend
Components and more
Use Cases
Documentation pe:legend
Attributes (move mouse over the names to see data types)
Name Description
bindingAn EL expression referring to a server side UIComponent instance in a backing bean.Default is generated.
footerLegend footer.
idUnique identifier of the component in a namingContainer.Default is generated.
layoutLayout orientation: vertical or horizontal.Default is vertical.
renderedBoolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true.
styleInline style of the component.
styleClassStyle class of the component.
titleLegend title.
valuesMap of label to color for legend items.
widgetVarName of the client side widget.
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 16.0.0-SNAPSHOT,PrimeFaces Extensions: 16.0.0-SNAPSHOT,JSF: Apache MyFaces Core 4.0 - Impl 4.0.3,Server: Apache Tomcat (TomEE)/10.1.52 (10.1.4),Build time: 2026-03-11 11:42