Skip to content

Progress

Progress Primitive

Demo


Shows an indicator representing the advancement status of a task.

Installation

Terminal window
npx @react-native-reusables/cli@latest add progress

Usage

import { Progress } from '~/components/ui/progress';
function Example() {
return <Progress value={87} className='web:w-[60%]' />;
}

Props

Progress

Extends View props

PropTypeNote
asChildboolean(optional)
valuenumber | null | undefined(optional)
maxnumber(optional)
getValueLabel(value: number, max: number): string(optional)