Socket
Book a DemoInstallSign in
Socket

react-progressbar-fancy

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-progressbar-fancy

A fancy progress bar component, with gradient styling and amazing animation.

1.1.4
latest
Source
npmnpm
Version published
Weekly downloads
187
-44.01%
Maintainers
1
Weekly downloads
 
Created
Source

React-Progressbar-Fancy

A fancy progress bar component, with gradient styling and some amazing animation. You are able to add your own custom gradient colors

fancy-progressbar

Testing

You can check out and play around with the component in codepen https://codesandbox.io/s/summer-flower-i8wni?file=/src/App.js

Installation

Install with npm:

  • npm install react-progressbar-fancy

or yarn:

  • yarn add react-progressbar-fancy

Usage

Import the component with just one line of code

import {ProgressBar} from "react-progressbar-fancy";

Now you can use the component:

<ProgressBar score={25}/>

Props

NameDescription
scoreProgression value of the progressbar. Required.
labelLabel text of the progressbar. Default: ''
progressWidthThe width of the progressbar. Default: ''.
hideTextTo show only progressbar and remove all text. Default: false.
darkThemeChange the color of the text to black. Default: false.
progressColorSome present gradient colors to choose from. 'red','green','blue','purple'. Default: 'red'.
primaryColorTo add custom color for the progressbar. Advice to use both primaryColor and secondaryColor. Default: ''.
secondaryColorTo add custom color for the progressbar. Advice to use both primaryColor and secondaryColor. Default: ''.
disableGlowRemove glow effect of the progressbar. Default: false.
classNameto add extra styles. Default: ''.

Extras

You can take some inspiration for your custom gradient colors from https://uigradients.com/

Keywords

react

FAQs

Package last updated on 08 May 2021

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.