Set the value and put the parts inside.
storage-meter.tsx
CircularMeter
<div>| Prop | Type | Default | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| size | "default""lg""sm""xl""xs" | "default" | |||||||||||||||||||||||||||||||
| variant | "full""half" | "full" | |||||||||||||||||||||||||||||||
| class | string | — | |||||||||||||||||||||||||||||||
| low | number | — | The top of the low region, as on the native <meter>. Set it or high to get levels. | ||||||||||||||||||||||||||||||
| high | number | — | The bottom of the high region, as on the native <meter>. | ||||||||||||||||||||||||||||||
| optimum | number | — | The best value. Under low: low is good. Over high: high is good. Between: the middle. | ||||||||||||||||||||||||||||||
| glow | boolean | — | A soft halo in the fill color (glow, @gelatin-ui/glow). Default: false. | ||||||||||||||||||||||||||||||
| segments | number | — | Cut the ring into this many arcs that fill one by one. Unset: one solid ring. | ||||||||||||||||||||||||||||||
| animated | boolean | true | Move the arc and count the value text to each new value, as CircularProgress does. false jumps to each value. Default true. | ||||||||||||||||||||||||||||||
From Base UIMeter.RootBase UI docs | |||||||||||||||||||||||||||||||||
| aria-valuetext | string | — | A string value that provides a user-friendly name for aria-valuenow, the current value of the meter. | ||||||||||||||||||||||||||||||
| format | NumberFormatOptions | — | Options to format the value. | ||||||||||||||||||||||||||||||
| get | — | A function that returns a string value that provides a human-readable text alternative for aria-valuenow, the current value of the meter. | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. | ||||||||||||||||||||||||||||||
CircularMeterTrack
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CircularMeterIndicator
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CircularMeterValue
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
From Base UIMeter.ValueBase UI docs | |||
| children | — | ||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| style | — | Style applied to the element, or a function that returns a style object based on the component's state. | |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
CircularMeterLabel
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
Built with
Installs with Circular Meter
- Components
- Circular Progress



