Mobile › Feedback
ProgressCircle
A ring that fills clockwise from the top, for goals, storage and timers. Needs no SVG library.
Installation
npx expo install plankui-mobile react-native-safe-area-context expo-hapticsUsage
import { ProgressCircle } from "plankui-mobile";
<ProgressCircle value={0.72} size={140} accessibilityLabel="Move goal" />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | 0 to 1. | |
| size | number | 96 | Width and height in points. |
| thickness | number | size / 10 | Ring thickness. |
| color | string | the accent | Ring colour. |
| children | ReactNode | the percentage | Drawn in the middle. |
| accessibilityLabel | string | "Progress" | What it measures. |