@gfazioli/mantine-rings-progress
Version:
Rings Progress component for Mantine
85 lines (59 loc) ⢠2.78 kB
Markdown
# Mantine Rings Progress Component
<div align="center">
https://github.com/user-attachments/assets/de494ff9-5e3c-4026-bdc3-0402110917e7
</div>
---
<div align="center">
[](https://www.npmjs.com/package/@gfazioli/mantine-rings-progress)
[](https://www.npmjs.com/package/@gfazioli/mantine-rings-progress)
[](https://www.npmjs.com/package/@gfazioli/mantine-rings-progress)

</div>
## Overview
This component is created on top of the [Mantine](https://mantine.dev/) library.
[](https://mantine.dev/)
Display progress with animated rings like the Apple Watch activity app.
[](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4)
[](https://gfazioli.github.io/mantine-rings-progress/)
[](https://mantine-extensions.vercel.app/)
š You can find more components on the [Mantine Extensions Hub](https://mantine-extensions.vercel.app/) library.
## Installation
```sh
npm install @gfazioli/mantine-rings-progress
```
or
```sh
yarn add @gfazioli/mantine-rings-progress
```
After installation import package styles at the root of your application:
```tsx
import '@gfazioli/mantine-rings-progress/styles.css';
```
## Usage
```tsx
import { RingsProgress } from '@gfazioli/mantine-rings-progress';
function Demo() {
const rings = [
{ value: 20, color: 'green' },
{ value: 80, color: 'blue' },
];
return (
<RingsProgress
size={140}
rings={rings}
label={
<ActionIcon color="yellow" variant="filled" radius="xl" size="xl">
<IconCheck style={{ width: rem(22), height: rem(22) }} />
</ActionIcon>
}
/>
);
}
```
<div align="center">
[](https://www.star-history.com/#gfazioli/mantine-rings-progress&Timeline)
</div>