Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-circular-gradient-progress

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-circular-gradient-progress

Display progress in a circle fashion

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-circular-progress

Installation

  npm install react-circular-gradient-progress --save

Usage

import React from "react";
import { CircularProgress } from "react-circular-gradient-progress";

const HomePage: React.FunctionComponent = () => (
  <CircularProgress
    color="#F00"
    size={size}
    progress={progress}
  />
)

export default HomePage;

Props

Component accepts several self-descriptive properties:

CircularProgress

  • color (String) - Color for the circle.

GradientCircularProgress

  • startColor (String) - Start Color for the circle.
  • middleColor (String) - MIddle Color for the circle.
  • endColor (String) - End Color for the circle.

Common Props

  • id (String | null) - The html id attribute.
  • size (Number) - This is diameter of the circle.
  • progress (Number) - The progress. (0 to 100).
  • strokeWidth (Number) - This weight of the circle. (default is 6px).
  • emptyColor (String) - The color of the circle that is not filled. (default is lightgrey).
  • withSnail (Boolean | null) - A dot at the end of the circle that follows the progress.
  • classes (Object | null) - Class names that can be applied to the component.
  classes?: {
    indicator: {
      progression: string;
      container: string;
      empty: string;
    };
    snail: string;
    textContent: {
      container: string;
      text: string;
    };
  };

Circular Progress with snail

Alt text

Gradient Circular Progress

Alt text

Keywords

FAQs

Package last updated on 12 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc