# Progress — React Native component for Expo

> A bar, ring or segments with a glowing head; finishing flashes and draws a check.

Solid bar in the accent colour with a soft glowing head that rides the fill (or sweeps when indeterminate, or carries animated stripes), an SVG ring with a glowing arc tip whose percentage counts up and morphs into a drawn check, and segments that pop as they fill while the current step pulses. Reaching max plays a short success flash.

- Docs: https://expokit.in/docs/components/progress
- Tier: Free
- Also called: progress bar, circular progress, loading bar
- Category: Feedback
- Platforms: iOS, Android, web
- Expo Go: yes, no development build needed
- npm dependencies: react-native-svg
- Uses ExpoKit items: kit
- Variants: Linear, Download, Completion, Indeterminate, Spinning, Circular, Steps

## Installation

Run once per project: `npx @expokit/cli@latest init` (shared theme + KitProvider). Then:

```bash
npx @expokit/cli@latest add progress
```

The CLI copies the source into your project (you own the code) and installs react-native-svg.

Import: `import { Progress } from "@/components/ui/progress";`

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | `"linear" \| "circular" \| "steps"` | `"linear"` | Horizontal bar, circular ring, or a row of segments. |
| `value` | `number` | — | 0 → max (completed steps for steps). Omit for indeterminate. |
| `max` | `number` | `100 (steps: steps)` | Upper bound. |
| `indeterminate` | `boolean` | `false` | Comet sweep on the bar, spinning arc on the ring. |
| `steps` | `number` | `4` | Segment count for the steps variant. |
| `size` | `"sm" \| "md" \| "lg"` | `"md"` | Bar 4 / 8 / 12pt, ring 44 / 72 / 112pt. |
| `color` | `string` | `theme accent` | Fill colour (solid); the track, glow and pulse are tints of it. |
| `trackColor` | `string` | `subtle foreground` | Track colour. |
| `label` | `string` | — | Caption above the bar or under the ring. |
| `showValue` | `boolean` | `ring: true` | Show the percentage (a drawn check once complete). |
| `formatValue` | `(value, max) => string` | — | Custom value text (e.g. "3 of 5"). |
| `celebrate` | `boolean` | `true` | At max, flash the fill and turn the value into a drawn check. |
| `striped` | `boolean` | `false` | Animated diagonal stripes on the linear fill for processing states. |
| `style` | `StyleProp<ViewStyle>` | — | Style for the root view of the bar, ring or step row. |
| `className` | `string` | — | Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. |

## 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.

## FAQ

### How do I make a progress bar in React Native?

Use ExpoKit's Progress: run 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?

Yes. Progress runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg) are all included in Expo Go.

### How do I add Progress to my Expo app?

Run 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?

Yes. Progress is free: its full source is on this page and the CLI installs it without an account.

### Can I change how Progress looks?

Yes. It takes its colours, radius and light / dark mode from 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.

## More

- Live preview, variants and code: https://expokit.in/docs/components/progress
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
