ZUI

Search documentation

Find a page or a heading.

Progress

A bar showing how far a task has got, announced as a progress bar from 0 to 100.

Installation

bash

The CLI writes components/ui/progress.tsx, installs Utils, and adds @rn-primitives/progress.

Usage

tsx
tsx

API reference

Progress

Takes every prop of the @rn-primitives/progress root except max and value, plus:

value runs from 0 to 100, and the bar is announced with it as a percentage. A value outside that range is held to its nearest end, and NaN draws an empty bar.