npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@arterial/circular-progress

v3.0.0

Published

Another React Material Circular Progress

Downloads

45

Readme

Arterial Circular Progress

Another React Material Circular Progress

Installation

npm install @arterial/circular-progress

Usage

Styles

Sass

@use "@material/circular-progress/index.scss" as circular-progress;
@include circular-progress.core-styles;

CSS

import '@material/circular-progress/dist/mdc.circular-progress.css';

JSX

import {CircularProgress} from '@arterial/circular-progress';

Determinate Progress

Determinate circular indicators fill the invisible, circular track with color, as the indicator moves from 0 to 360 degrees.

<CircularProgress progress={0.25} />
<CircularProgress progress={0.5} />
<CircularProgress progress={0.75} />
<CircularProgress progress={1} />

Indeterminate Progress

Indeterminate circular indicators grow and shrink in size while moving along the invisible track.

<CircularProgress />
<CircularProgress medium />
<CircularProgress small />

Other Variants

Four Colors

<CircularProgress fourColors />
<CircularProgress fourColors medium />
<CircularProgress fourColors small />

Custom Four Colors

// scss
// @use '@material/circular-progress/mixins' as circular-progress-mixins;
// $colors: (purple, pink, teal, gray);
// .mdc-circular-progress {
//   @include circular-progress-mixins.indeterminate-colors($colors);
// }

// jsx
<CircularProgress fourColors />
<CircularProgress fourColors medium />
<CircularProgress fourColors small />

Buttons

import { Button } from '@arterial/button'

<Button
  icon={<CircularProgress small />}
  label="Text"
/>
<Button
  icon={<CircularProgress small />}
  outlined
  label="Outlined"
/>
<Button
  icon={<CircularProgress small />}
  unelevated
  label="Unelevated"
/>
<Button
  icon={<CircularProgress small />}
  raised
  label="Raised"
/>

Chips

import {Chip, ChipSet} from '@arterial/chip';

<ChipSet choice>
  <Chip icon={<CircularProgress small />} text="Alfa" />
  <Chip icon={<CircularProgress small />} selected text="Bravo" />
</ChipSet>;

Props

CircularProgress

| Name | Type | Description | | ---------- | ------- | ----------------------------------------------------------------- | | children | node | Elements to be displayed within root element. | | className | string | Classes to be applied to the root element. | | closed | boolean | Hides the circular progress indicator. | | fourColors | boolean | Enables a four colors variant. | | label | boolean | Sets the aria label of the element. Defaults to Progress Bar. | | medium | boolean | Sets the stroke and container sizes for the medium-sized variant. | | progress | number | Sets the progress bar length. | | small | boolean | Sets the stroke and container sizes for the small variant. |