Feedback and status
Progress
0–100
function ProgressDemo() { const [value, setValue] = React.useState(20); return ( <View className="w-full gap-3"> <Progress value={value} aria-label="Profile completion" /> <View className="flex-row gap-2"> <Button size="sm" variant="outline" onPress={() => setValue((v) => Math.max(0, v - 20))}> <Text>−20</Text> </Button> <Button size="sm" variant="outline" onPress={() => setValue((v) => Math.min(100, v + 20))}> <Text>+20</Text> </Button> <Text className="text-muted-foreground self-center text-sm">{value}%</Text> </View> </View> );}API
<Progress value={0–100} />Get it
Already in every copy of the native kit:
import { Progress } from '@/components/ui/progress';Details
- Exports
Progress- Packages
- @rn-primitives/progress@^1.5.2, react-native-reanimated@4.5.1
- Installs with
- @halftone-native/lib-theme, @halftone-native/lib-utils
- Also searched as
- bar, loading, percent, determinate
- Registry JSON
- /r/native/progress.json
<Progress value={64} className="max-w-sm" aria-label="Upload progress" />API
<Progress value aria-label />Get it
Already in every copy of the web kit:
import { Progress } from '@/components/ui/progress';Details
- Exports
Progress- Packages
- cn@^0.5.2, radix-ui@^1.7.0
- Registry JSON
- /r/web/progress.json
Agents: the whole registry is at /llms.txt.