Components · Loading States
Progress
StableAdded v0.0.1
Horizontal progress bar with optional tone and animation.
import { Progress } from '@nexub/react';Playground
Props
variant
size
<Progress value={65} />Examples
Default
Tones
Animated
States
defaultsize="sm"size="md"size="lg"variant="linear"variant="circular"tone="neutral"tone="info"tone="success"tone="warning"tone="danger"tone="leap"tone="bookub"tone="payub"
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | — | Current progress value between 0 and max. |
| max | number | 100 | Maximum value of the progress bar. |
| tone | 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub' | 'neutral' | Semantic colour tone of the filled track. |
| animated | boolean | false | Adds a stripes-in-motion animation to the filled track. |
| segments | number | — | Linear only: splits the bar into N equal steps, filled up to the value. |
| size | 'sm' | 'md' | 'lg' | 'md' | |
| variant | 'linear' | 'circular' | 'linear' | circular draws a ring; same value/max/indeterminate semantics. |
On iOS & Android: Progress
@nexub/react-nativeAlpha
import { Progress } from '@nexub/react-native';
<Progress value={0.6} label="Uploading" />Web vs mobile
Same tokens and prop names. Where the platforms differ:
| Web | iOS & Android | |
|---|---|---|
| Label | Optional. | label is required (screen readers). |
Interactive preview of @nexub/react-native rendered for the web. Native chrome (switches, pickers, Liquid Glass) looks like the platform on a device.
On device

iPhone (iOS simulator)

Pixel (Android emulator)
Screenshots from the latest CI run of the showcase app; the live frame renders the same code for the web.
Progress props
| Prop | Type | Default | Description |
|---|---|---|---|
| valuerequired | number | — | 0–1. |
| labelrequired | string | — | — |
| variant | 'linear' | 'circular' | 'linear' | — |
| size | number | 40 | Circular diameter. |
| segments | number | — | Linear only: splits the bar into N equal steps, filled up to the value. |
| style | StyleProp<ViewStyle> | — | — |