Progress | NativeBase | Universal Components for React and React Native

Search
K
Hire us
If you are starting a new project, please try gluestack-ui for better performance and new design.
Progress
Progress is used to display the progress status for a task that takes a long time or consists of several steps.
Import
Copy
import { Progress } from 'native-base';
Examples
Basic
Playground
Progress colorScheme
Playground
Sizes
Playground
Flat Progress
Playground
Custom Track Color
Playground
Props
value
Value of Progress.
Type: number
Default: 0
size
Defines height of Progress
Type: string
Default: sm
colorScheme
The color scheme of the progress. This should be one of the color keys in the theme (e.g."green", "red").
Type: string
Default: primary
isIndeterminate
Whether progress is indeterminate
Type: any
Default: false
min
Min progress value
Type: number
Default: 0
max
Max progress value
Type: number
Default: 100
Styling
NativeBase ships with a default theme for each component. Check out the default theme of the progress.
Info: We can easily extend the progress component theme using extendTheme function as described in the documentation .
Accessibility
Adheres to the progressbar
On web, aria-valuenow, aria-valuemin and aria-valuemax is used to ensure the progress percent is visible to screen readers.
On mobile, is used to ensure it is announced by Talkback and VoiceOver.
Nativebase logo
MadeWithNativeBase