Socket
Book a DemoInstallSign in
Socket

react-native-simple-circular-progress

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simple-circular-progress

A simple circular progress indicator component for React Native.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
5
Maintainers
0
Weekly downloads
 
Created
Source

react-native-simple-circular-progress

A simple circular progress indicator component for React Native

NPM version Downloads

Screenshots

Installation

yarn add react-native-simple-circular-progress

or

npm i react-native-simple-circular-progress

Examples

<CircularProgress
  size={106}
  percent={75}
  gapAngle={90}
  progressBarColor={[[0, '#2C40F3'], [100, '#C2E1FF']]}
>
  <View>
    <Text>Scores</Text>
    <Text>5846</Text>
  </View>
</CircularProgress>

<CircularProgress
  size={106}
  percent={41}
  progressBarColor={[[0, '#1CC490'], [100, '#CEFFBD']]}
  scaleAngles={[0, -45, -90, -135, 180]}
  scaleOpacity={0.15}
  scaleColor='#888'
>
  <View>
    <Text>41%</Text>
  </View>
</CircularProgress>

<CircularProgress
  size={106}
  percent={75}
  progressBarColor={[[0, '#9C3AE9'], [100, '#CCBDFF']]}
  scaleAngles={[0, -45, -90, -135, 180]}
  scaleOpacity={0.15}
>
  <View>
    <Text>Status</Text>
    <Text>Good</Text>
  </View>
</CircularProgress>

API

proptypedefault value
sizenumber
percentnumber1
gapAnglenumber90
backgroundBarColorstring'#F5F5F4'
progressBarWidthnumber15
progressBarColorstring [number, string][]'#2C40F3'
progressBarOpacitynumber1
progressFillColorstring'none'
scaleAnglesnumber[]
scaleWidthnumber2
scaleColorstring'#2a2a2a'
scaleOpacitynumber0.1
svgExtraPropsRecord<string, any>{}

Keywords

react

FAQs

Package last updated on 29 Nov 2024

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