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

@rmwc/circular-progress

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/circular-progress

RMWC Circular Progress

  • 4.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.4K
decreased by-21.39%
Maintainers
1
Weekly downloads
 
Created
Source

Circular Progress RMWC Addon

Circular progress indicators display progress by animating an indicator along an invisible circular track in a clockwise direction. They can be applied directly to a surface, such as a button or card.

  • Module @rmwc/circular-progress
  • Import styles:
    • import '@rmwc/circular-progress/circular-progress.css';

Basic Usage

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

<CircularProgress />
<CircularProgress progress={0.3}/>
<CircularProgress progress={0.6}/>
<CircularProgress progress={0.9}/>

Sizing

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

<CircularProgress size="xsmall" />
<CircularProgress size="small" />
<CircularProgress size="medium" />
<CircularProgress size="large" />
<CircularProgress size="xlarge" />
<CircularProgress size={72} />

Use with other components

The CircularProgress component is designed to work well with other components where you would otherwise render an icon or input control.

import { Button, ButtonIcon } from '@rmwc/button';
import { List, SimpleListItem } from '@rmwc/list';
import { Chip } from '@rmwc/chip';

<Button>
  <ButtonIcon icon={<CircularProgress theme="secondary" />}/> Cookies
</Button>

<List>
  <SimpleListItem graphic={<CircularProgress />} text="Pizza"/>
  <SimpleListItem graphic="favorite" text="Icecream"/>
</List>

<Chip
  leadingIcon={<CircularProgress />}
  text="Donuts"
/>
import { DocumentComponent } from '@rmwc/base/utils/document-component';
import * as docs from './docgen.json';

<DocumentComponent docs={docs} displayName="CircularProgress" />

Keywords

FAQs

Package last updated on 26 Nov 2018

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