SubComponents
Bar
To render the progress bar in the Meter.
Bar API
Props
Type
Required
percentage
number
✅
variant
'default' | 'primary' | 'scaled'
❌
scales
❌
Scales
The scales prop is an object passed to represent limits by changing the progress color. By default, if you pass the 'scaled'
variant, the object limits will be like this:
Label
The label subcomponent does not extend the SDS label component.
Label API
This subcomponent extends the native label props.
Props
Type
Required
children
ReactNode
✅
Last updated