All Projects β†’ nickbullll β†’ react-sweet-progress

nickbullll / react-sweet-progress

Licence: MIT license
A way to quickly add a progress bar to react app 🌈

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to react-sweet-progress

React Sweet Progress
A way to quickly add a progress bar to react app 🌈
Stars: ✭ 239 (-4.4%)
Mutual labels:  progress, css3, react-component, progress-bar, progressbar, progress-circle
ProBar
this script will allow you to configure a progress bar with a timer with other options
Stars: ✭ 0 (-100%)
Mutual labels:  progress, css3, progress-bar, progressbar
mp-progress
δΈ“ζ³¨δΊŽε°η¨‹εΊεœ†ηŽ―ε½’θΏ›εΊ¦ζ‘ηš„ε°ε·₯ε…·
Stars: ✭ 72 (-71.2%)
Mutual labels:  progress, progress-bar, progressbar, progress-circle
React Nprogress
βŒ›οΈ A React primitive for building slim progress bars.
Stars: ✭ 173 (-30.8%)
Mutual labels:  progress, progress-bar, progressbar
Hgcircularslider
A custom reusable circular / progress slider control for iOS application.
Stars: ✭ 2,240 (+796%)
Mutual labels:  progress, progress-bar, progress-circle
LineProgressbar
A light weight jquery progressbar plugin
Stars: ✭ 34 (-86.4%)
Mutual labels:  progress, progress-bar, progressbar
Multiprogressview
πŸ“Š An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (+145.6%)
Mutual labels:  progress, progress-bar, progressbar
VHProgressBar
Vartical and Horizontal ProgressBar
Stars: ✭ 23 (-90.8%)
Mutual labels:  progress, progress-bar, progressbar
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+172.8%)
Mutual labels:  progress, progress-bar, progressbar
Mkringprogressview
⭕️ Ring progress view similar to Activity app on Apple Watch
Stars: ✭ 1,140 (+356%)
Mutual labels:  progress, progress-bar, progress-circle
Vue Step Progress
A simple Vue component that displays a Progress Bar with labels for each step
Stars: ✭ 26 (-89.6%)
Mutual labels:  progress, progress-bar, progressbar
Delayedprogress
ProgressDialog that waits a minimum time to be dismissed before showing. Once visible, the ProgressDialog will be visible for a minimum amount of time to avoid "flashes" in the UI.
Stars: ✭ 95 (-62%)
Mutual labels:  progress, progress-bar, progressbar
Alive Progress
A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
Stars: ✭ 2,940 (+1076%)
Mutual labels:  progress, progress-bar, progressbar
angular-progress-bar
This component allow you to easy incorporate progress-bar to angular/ionic project, providing binding and color options
Stars: ✭ 26 (-89.6%)
Mutual labels:  progress, progress-bar, progressbar
Jocircularslider
A highly customisable and reusable circular slider for iOS applications.
Stars: ✭ 128 (-48.8%)
Mutual labels:  progress, progress-bar, progress-circle
Tqdm
A Fast, Extensible Progress Bar for Python and CLI
Stars: ✭ 20,632 (+8152.8%)
Mutual labels:  progress, progress-bar, progressbar
Roundprogresstextview
TextView with Round Pogress
Stars: ✭ 18 (-92.8%)
Mutual labels:  progress, progress-bar, progressbar
Ruby Progressbar
Ruby/ProgressBar is a text progress bar library for Ruby.
Stars: ✭ 1,378 (+451.2%)
Mutual labels:  progress, progress-bar, progressbar
Radialprogressbar
Radial ProgressBar inspired by Apple Watch OS. It is highly Customisable
Stars: ✭ 141 (-43.6%)
Mutual labels:  progress, progress-bar, progressbar
Progress dialog
A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it.
Stars: ✭ 196 (-21.6%)
Mutual labels:  progress, progressbar

React Sweet Progress

npm version

A way to quickly add a react progress bar to your app 🌈

Imgur

Basic Usage

  1. Install via npm and yarn

    npm i -S react-sweet-progress
    
    // or
    
    yarn add react-sweet-progress
    
  2. Import Progress and progress bar styles

    import { Progress } from 'react-sweet-progress';
    import "react-sweet-progress/lib/style.css";
    
  3. Enjoy

    <Progress percent={88} status="success" />
    

Imgur

<Progress type="circle" percent={100} status="success" />

Imgur

Customize

Basic steps to customize React progress bar.

Percent 🏹

Percent cant set the completion percentage of progress bar.

<Progress />

Imgur


<Progress
  percent={69}
/>

Imgur

Status ⭐

You can use 3 status types: active, error, success. By default status equal to success when percent is 100.

<Progress
  percent={88}
  status="success"
/>

Imgur


<Progress
  percent={43}
  status="error"
/>

Imgur

Exotic theme πŸ”₯

With theme param you can customize icons and styles of the progress bar.

<Progress
  theme={{
    success: {
      symbol: 'πŸ„β€',
      color: 'rgb(223, 105, 180)'
    },
    active: {
      symbol: 'πŸ˜€',
      color: '#fbc630'
    },
    default: {
      symbol: '😱',
      color: '#fbc630'
    }
  }}
/>

Imgur Imgur Imgur

If you don't specify the theme trail color, then the deafult value of #efefef will be used.

<Progress
  theme={
    {
      error: {
        symbol: this.state.percent + '%',
        trailColor: 'pink',
        color: 'red'
      },
      default: {
        symbol: this.state.percent + '%',
        trailColor: 'lightblue',
        color: 'blue'
      },
      active: {
        symbol: this.state.percent + '%',
        trailColor: 'yellow',
        color: 'orange'
      },
      success: {
        symbol: this.state.percent + '%',
        trailColor: 'lime',
        color: 'green'
      }
    }
  }
/>

Imgur

If you don't pass custom status then it will use the default color theme.

<Progress
  theme={{
    success: {
      symbol: 'πŸ„β€',
      color: 'rgb(223, 105, 180)'
    }
  }}
/>

Imgur Imgur Imgur

Also you can use the status param.

<Progress
  percent={100}
  status="error"
  theme={{
    error: {
      symbol: 'πŸ€”',
      color: '#fbc630'
    }
  }}
/>

Imgur

Circle width 😲

Width param can set the size of circle progress bar, also it's set font and icon sizes automatically.

<Progress
  type="circle"
  width={70}
  percent={70}
/>
<Progress
  type="circle"
  percent={30}
/>

Imgur

Circle strokeWidth πŸ€—

With strokeWidth param you can customize the path circle strokeWidth.

<Progress
  type="circle"
  strokeWidth={3}
  percent={70}
/>
<Progress
  type="circle"
  percent={30}
/>

Imgur

API

Progress

Property Description Type Default
percent set the completion percentage number 0
status set the status of the progress, options: success, error, active string -
theme set the custom styles of the progress, options: [status]: { color: [string], trailColor: [string], symbol: '[any]'} object -
style set the custom style of the react progress bar object -
type set the type of the progress bar, options: circle string -
width set sizes of progress bar type circle number 132
strokeWidth set strokeWidth of progress bar type circle number 6
className set the custom class of the react progress bar object -
symbolClassName set the symbol custom class object -

Supported Browsers

React Sweet Porgress designed to support the latest web browsers. We support the current versions of Chrome, Firefox, Safari, Microsoft Edge and Internet Explorer 11. Also support the latest mobile browsers.

How to run example locally ?

  1. git clone https://github.com/abraztsov/react-sweet-progress.git
  2. cd react-sweet-progress
  3. npm start
  4. Go to localhost:8080

Feature Requests / Find Bug ?

Have an idea for a package or a feature you'd love to see in ReactSimpleFlexGrid? Search for existing GitHub issues and join the conversation or create new!

FAQ

This component based on ant design progress. Huge thanks them for a such an awesome work.

Future Plans

  • Create Circle progress
  • Add flexibility to custom styles

Updates

1.1.1 Trail color can now be specified by a progress theme.

1.1.0 Added Circle progress

1.0.0 First release

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].