Theming documentation for MeterGroup component
List of class names used in the styled mode.
className | description |
---|---|
p-metergroup | Class name of the root element |
p-metergroup-meters | Class name of the meters element |
p-metergroup-meter | Class name of the meter element |
p-metergroup-label-list | Class name of the label list element |
p-metergroup-label | Class name of the label element |
p-metergroup-label-icon | Class name of the label icon element |
p-metergroup-label-marker | Class name of the label marker element |
p-metergroup-label-text | Class name of the label text element |
List of design tokens.
token | CSS Variable | description |
---|---|---|
metergroup.border.radius | --p-metergroup-border-radius | Border radius of root |
metergroup.gap | --p-metergroup-gap | Gap of root |
metergroup.meters.background | --p-metergroup-meters-background | Background of meters |
metergroup.meters.size | --p-metergroup-meters-size | Size of meters |
metergroup.label.gap | --p-metergroup-label-gap | Gap of label |
metergroup.label.marker.size | --p-metergroup-label-marker-size | Size of label marker |
metergroup.label.icon.size | --p-metergroup-label-icon-size | Size of label icon |
metergroup.label.list.vertical.gap | --p-metergroup-label-list-vertical-gap | Vertical gap of label list |
metergroup.label.list.horizontal.gap | --p-metergroup-label-list-horizontal-gap | Horizontal gap of label list |
Theming is implemented with the pass through properties in unstyled mode.