Applies to every preview on the site.
Installation
One command copies the source into your app — you own the code and can change anything.
After you add the file, import it like any local component:
import { Progress } from "@/components/ui/progress";Or add it with the CLI (installs any missing peers):
Usage
useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.Like this? There's a lot more in Pro Pro
12 full screens built from the same kit — install them the same way.
Props
| Prop | Type | Default |
|---|---|---|
| variant Horizontal bar, circular ring, or a row of segments. | "linear" | "circular" | "steps" | "linear" |
| value 0 → max (completed steps for steps). Omit for indeterminate. | number | — |
| max Upper bound. | number | 100 (steps: steps) |
| indeterminate Comet sweep on the bar, spinning arc on the ring. | boolean | false |
| steps Segment count for the steps variant. | number | 4 |
| size Bar 4 / 8 / 12pt, ring 44 / 72 / 112pt. | "sm" | "md" | "lg" | "md" |
| color Fill colour (solid); the track, glow and pulse are tints of it. | string | theme accent |
| trackColor Track colour. | string | subtle foreground |
| label Caption above the bar or under the ring. | string | — |
| showValue Show the percentage (a drawn check once complete). | boolean | ring: true |
| formatValue Custom value text (e.g. "3 of 5"). | (value, max) => string | — |
| celebrate At max, flash the fill and turn the value into a drawn check. | boolean | true |
| striped Animated diagonal stripes on the linear fill for processing states. | boolean | false |
| style Style for the root view of the bar, ring or step row. | StyleProp<ViewStyle> | — |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
Customization
You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.
Design theme
Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).
Variants
Pick the Variants chip above the preview, or set variant=… — "linear" | "circular" | "steps".
Style props
React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).
- variant
- "linear" | "circular" | "steps" · default "linear"Horizontal bar, circular ring, or a row of segments.
- size
- "sm" | "md" | "lg" · default "md"Bar 4 / 8 / 12pt, ring 44 / 72 / 112pt.
- color
- string · default theme accentFill colour (solid); the track, glow and pulse are tints of it.
- trackColor
- string · default subtle foregroundTrack colour.
- style
- StyleProp<ViewStyle>Style for the root view of the bar, ring or step row.
- className
- stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.
Behaviour & accessibility
- Motion
- The fill springs to each value with a glow riding its head, and the ring's percentage counts up. Reaching max flashes the fill and morphs the value into a drawn check.
- Reduced motion
- The completion flash, moving stripes and segment pop and pulse are skipped. The fill still springs and indeterminate loops still run.
- Screen readers
- A progressbar with your label and its min, max and current value. Indeterminate progress is marked busy.
- Platforms
- Transforms and opacity use the native driver; only the ring's SVG stroke and the check drawing use the JS driver.
Source
FAQ
How do I make a progress bar in React Native?
npx @expokit/cli@latest add progress in your Expo or React Native project and it copies a ready-made progress bar into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.Does Progress work in Expo Go?
react-native-svg) are all included in Expo Go.How do I add Progress to my Expo app?
npx @expokit/cli@latest add progress in your project. The CLI copies the component's source into your app and installs react-native-svg, so the code is yours to change.Is Progress free?
Can I change how Progress looks?
useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.