Progress
Show percent completion with a progress bar
Progress: 60
Features
Sizable, themeable, animatable.
Compound component API for complete control.
Adheres to the progressbar role requirements
Installation
Progress is already installed in tamagui, or you can install it independently:
yarn
npm
bun
pnpm
yarn add @tamagui/progress
Usage
The value property controls the percent, but you can override it by adjusting the x property.
import { Button, Progress } from 'tamagui'export default () => (<Progress value={60}><Progress.Indicator transition="bouncy" /></Progress>)
API Reference
Progress
Progress extends ThemeableStack, getting Tamagui standard props, plus:
Props
size
"small" | "large"
Size preset for the progress bar.
value
number | null
Controls the percent progress.
max
number
Maximum value for calculating the percentage.
unstyled
boolean
When true, removes all default styles.
Progress.Indicator
Progress.Indicator extends ThemeableStack, getting Tamagui standard props.
Props
unstyled
boolean
When true, removes all default styles.