Giter Site home page Giter Site logo

amit08255 / circular-dashed-progress-react Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 17 KB

Zero dependency circular dashed progress bar component for React

TypeScript 100.00%
progress-bar circular-progress-bar circular-progress-indicator react-progress-bar react-progress svg-progress-bar

circular-dashed-progress-react's Introduction

Circular Dashed Progress React

This is zero dependency dashed circular progress bar component in React. It generates a dashed circular progress indicator using SVG.

Usage

Examples:

image

import CircularProgressBar from "./index";

<CircularProgressBar selectedValue={8} />

<CircularProgressBar
    selectedValue={25}
    maxValue={50}
    textColor='#f00'
    activeStrokeColor='#cc6600'
    withGradient
/>

<CircularProgressBar
    selectedValue={75}
    maxValue={100}
    radius={100}
    activeStrokeColor='#0f4fff'
    withGradient
/>

<CircularProgressBar
    selectedValue={55}
    maxValue={90}
    radius={80}
    activeStrokeColor='#cc6633'
    withGradient
    anticlockwise
/>

Properties

Prop Description Default
maxValue Max Value of the progress. 10
selectedValue Selected Value of the progress. 0
radius Radius of the Circular Progress Bar. 60
strokeWidth Stroke Width of the progress. 6
label This is any label that needs to be shown below the progress number. ``
labelFontSize Font Size for Label. #000
activeStrokeColor Active Stroke. #05a168
inactiveStrokeColor Inactive Stroke Color. #ddd
backgroundColor Background Color inside the progress circle. #fff
textColor Color of the Number Text, which shows the active number. #000
valueFontSize Font Size of the number Text. ``
withGradient Whether to apply gradient on the outer Progress bar. false
anticlockwise Whether progress bar in Clockwise or not (default: Clockwise). false
initialAngularDisplacement Any initial Angular Displacement. 0

circular-dashed-progress-react's People

Contributors

amit08255 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mohamedsabry000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.