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-haptics

Usage

import { ProgressCircle } from "plankui-mobile";

<ProgressCircle value={0.72} size={140} accessibilityLabel="Move goal" />

API reference

PropTypeDefaultDescription
valuenumber0 to 1.
sizenumber96Width and height in points.
thicknessnumbersize / 10Ring thickness.
colorstringthe accentRing colour.
childrenReactNodethe percentageDrawn in the middle.
accessibilityLabelstring"Progress"What it measures.