Progress
Displays an indicator showing the completion progress of a task.
v0.1.1NativeWindStyleSheetiOSAndroidExpo Go
Preview
Installation
npx nativra-cli add progressWrites Progress.tsx to components/ui, rewrites imports to your aliases and records hashes in nativra.lock.json, along with 1 registry dependency. Existing files are never overwritten without asking.
Want to try it first? Open it in the playground: a real React Native project in your browser, with this item installed by the CLI.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | required | Progress percentage between 0 and 100 |
| variant | "default" | "primary" | "success" | "warning" | "destructive" | "default" | Semantic color treatment |
| size | "sm" | "md" | "lg" | "md" | Progress bar thickness |
| showLabel | boolean | false | Displays percentage text |
Source
Exactly what the CLI writes, before your import aliases are applied.