Getting Started
Components
Special Effects
Animations
Text Animations
Backgrounds
A circular progress bar component with animated transitions between primary and secondary colors.
0
Installation
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/animated-circular-progress-bar.json
Copy the Source Code
Copy and paste the following code into your project:
animated-circular-progress-bar.svelte
index.ts
Folder Structure
Folder Structure
Props
AnimatedCircularProgressBar
A component for displaying animated circular progress.
| Name | Type | Default | Description |
|---|---|---|---|
max | number | 100 | The maximum value for the progress bar |
min | number | 0 | The minimum value for the progress bar |
value | number | 0 | The current value of the progress bar |
gaugePrimaryColor | string | required | The color for the progress portion of the bar |
gaugeSecondaryColor | string | required | The color for the remaining portion of the bar |
class | string | "" | Additional CSS classes to apply |