The Progress component is designed to display the progress of a task that involves multiple steps and takes some time to complete. It helps users stay informed about the current status of a lengthy process.
This is an illustration of a Themed Progress component with default configuration.
To use this component in your project, include the following import statement in your file.
The structure provided below can help you identify and understand a Progress component's various parts.
This section provides a comprehensive reference list for the component props, detailing descriptions, properties, types, and default behavior for easy project integration.
It inherits all the properties of React Native's View component.
It is used to set the progress of the progress bar
Descendants Styling Props
Props to style child components.
Prop to style ProgressFilledTrack Component
It also inherits all the properties of React Native's View component.
We have outlined the various features that ensure the Fab component is accessible to all users, including those with disabilities. These features help ensure that your application is inclusive and meets accessibility standards. Adheres to the WAI-ARIA design pattern.
Tab: Moves focus to the next focusable element.
VoiceOver: When the Progress is focused, the screen reader will announce it's a progress and it's current progress indicator.
The themed version of the component is a pre-styled version of the component, which allows you to quickly integrate the component into your project. The component's design and functionality are fully defined, allowing you to focus on the more important aspects of your project. To know more about Themed Library please visit this link.
Progress component is created using View component from react-native. It extends all the props supported by React Native View, utility props and the props mentioned below.
xs | sm | md | lg | xl | 2xl
Note: These props are exclusively applicable when utilizing the default configuration of gluestack-ui/config. If you are using a custom theme, these props may not be available.
The Examples section provides visual representations of the different variants of the component, allowing you to quickly and easily determine which one best fits your needs. Simply copy the code and integrate it into your project.
Progress component with value
You can add track color to progress bar as per our needs.
You can customize the progress bar. Below is the example where we have change the theme of progress bar.
All the components in gluestack-ui are unstyled by default. To customize your UI using the extendedTheme, please refer to this link. The import names of components serve as keys to customize each component.
Explore the comprehensive details of the Progress in this document, including its implementation details, checklist, and potential future additions. Dive into the thought process behind the component and gain insights into its development journey.