@gluestack-ui/progress
TypeScript icon, indicating that this package has built-in type declarations

0.1.18 • Public • Published

@gluestack-ui/progress

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.

Installation

To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.

npx gluestack-ui@latest add progress

Usage

Default styling of the component can be found in the components/core/progress file. For reference, you can view the source code of the styled Progress component.

// import the styles
import {
  Root,
  FilledTrack,
} from '../components/core/progress/styled-components';

// import the createProgress function
import { createProgress } from '@gluestack-ui/progress';

// Understanding the API
const Progress = createProgress({
  Root,
  FilledTrack,
});

// Using the Progress component
export default () => (
  <Progress>
    <ProgressFilledTrack />
  </Progress>
);

More guides on how to get started are available here.

Package Sidebar

Install

npm i @gluestack-ui/progress

Weekly Downloads

17,021

Version

0.1.18

License

none

Unpacked Size

12 kB

Total Files

17

Last publish

Collaborators

  • rajat693
  • sravankumarvelangi
  • vaibhk002
  • daminipandey
  • rayan1810
  • amars29
  • geekgautam
  • gluestackadmin
  • geekashwini
  • vidhi499
  • mayankp06
  • madhavb230100
  • viraj-10
  • rohit_singh
  • meenumakkar
  • surajahmedc