🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

react-native-progress

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
r

react-native-progress

Progress indicators and spinners for React Native using ReactART

5.0.1
latest
100

Supply Chain Security

100

Vulnerability

100

Quality

77

Maintenance

100

License

Version published
Weekly downloads
158K
2.58%
Maintainers
1
Weekly downloads
 
Created
Issues
121

What is react-native-progress?

The react-native-progress package provides a set of customizable progress indicators for React Native applications. It includes various types of progress bars and spinners that can be used to indicate loading states or progress in your app.

What are react-native-progress's main functionalities?

Circular Progress

This feature allows you to create a circular progress indicator. The `Circle` component can be customized with size, progress, and text display options.

import React from 'react';
import { View } from 'react-native';
import { Circle } from 'react-native-progress';

const CircularProgressExample = () => (
  <View>
    <Circle size={100} progress={0.7} showsText={true} />
  </View>
);

export default CircularProgressExample;

Bar Progress

This feature allows you to create a horizontal bar progress indicator. The `Bar` component can be customized with progress and width options.

import React from 'react';
import { View } from 'react-native';
import { Bar } from 'react-native-progress';

const BarProgressExample = () => (
  <View>
    <Bar progress={0.5} width={200} />
  </View>
);

export default BarProgressExample;

Pie Progress

This feature allows you to create a pie chart-like progress indicator. The `Pie` component can be customized with size and progress options.

import React from 'react';
import { View } from 'react-native';
import { Pie } from 'react-native-progress';

const PieProgressExample = () => (
  <View>
    <Pie progress={0.3} size={100} />
  </View>
);

export default PieProgressExample;

Spinner

This feature allows you to create a spinner indicator. The `CircleSnail` component can be customized with different colors.

import React from 'react';
import { View } from 'react-native';
import { CircleSnail } from 'react-native-progress';

const SpinnerExample = () => (
  <View>
    <CircleSnail color={['red', 'green', 'blue']} />
  </View>
);

export default SpinnerExample;

Other packages similar to react-native-progress

FAQs

Package last updated on 26 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts