@highlight-ui/circular-progress
v2.3.7
Published
[](https://www.npmjs.com/package/@highlight-ui/circular-progress) [](https://www.personi
Maintainers
Keywords
Readme
@highlight-ui/circular-progress
Installation
Using npm:
npm install @highlight-ui/circular-progressUsing yarn:
yarn add @highlight-ui/circular-progressUsing pnpm:
pnpm install @highlight-ui/circular-progressIn your (S)CSS file:
@import url('@highlight-ui/circular-progress');Once the package is installed, you can import the library:
import { CircularProgress } from '@highlight-ui/circular-progress';Usage
import React, { useState } from 'react';
import { CircularProgress } from '@highlight-ui/circular-progress';
export default function CircularProgressExample() {
return <CircularProgress percentage={50} />;
}Props 📜
| Prop | Type | Required | Default | Description |
| :----------- | :----------- | :------- | :------ | :------------------------------------------------ |
| percentage | number | Yes | | Percentage of the progress |
| color | ColorToken | No | | Custom color token for the progress circular line |
Custom types 🔠
| Type | Values | Description |
| :----------- | :-------------------------------------------------------------------------------------- | :------------------------ |
| ColorToken | "Colors" token names | Used for the color prop |
Contributing 🖌️
Please visit personio.design for usage guidelines and visual examples.
If you're interested in contributing, please visit our contribution page.
