arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
MeterGroup
Basic usage examples of MeterGroup component demonstrating horizontal, vertical layouts and icon labels.

Basic

  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)

Vertical

  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)

Labels at Start

  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)

Vertical Labels

  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)
Source

                    <ui:composition
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="jakarta.faces.core"
        xmlns:h="jakarta.faces.html"
        xmlns:ui="jakarta.faces.facelets"
        xmlns:p="primefaces"
        xmlns:pe="primefaces.extensions">

    <p:growl id="growl" showDetail="true" showSummary="true"/>

    <div class="card">
        <h3>Basic</h3>
        <pe:meterGroup value="#{meterGroupController.meters}" />
    </div>

    <div class="card">
        <h3>Vertical</h3>
        <pe:meterGroup value="#{meterGroupController.meters}" orientation="vertical" style="height: 300px" />
    </div>

    <div class="card">
        <h3>Labels at Start</h3>
        <pe:meterGroup value="#{meterGroupController.meters}" labelPosition="start" />
    </div>

    <div class="card">
        <h3>Vertical Labels</h3>
        <pe:meterGroup value="#{meterGroupController.meters}" labelOrientation="vertical" />
    </div>

</ui:composition>
                
Components and more
Use Cases
Documentation pe:meterGroup
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.
idUnique identifier of the component in a namingContainer.Default is generated.
labelOrientationOrientation of the labels. Valid values: horizontal, vertical.Default is horizontal.
labelPositionPosition of the labels relative to the meters. Valid values: start, end.Default is end.
maxMax value of the meter. If 0, defaults to 100 or sum of values.Default is 0.0.
minMin value of the meter.Default is 0.0.
orientationOrientation of the meter. Valid values: horizontal, vertical.Default is horizontal.
renderedBoolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true.
showLabelsWhether to show the labels.Default is true.
styleInline style of the component.
styleClassStyle class of the component.
valueA list of meter items (MeterGroupItem).
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-04-14 11:39