Modern Progress Demo
bucharitesh/modern-progress-demoFreeExample
A demo of the Modern Progress component
Install it
npx shadcn@latest add https://bucharitesh.in/r/modern-progress-demo.jsonSource
1'use client';23import { Progress } from '@/registry/bucharitesh/modern-progress';4import { useState } from 'react';5import { useEffect } from 'react';67const ProgressDemo = () => {8 const [progress, setProgress] = useState(0);910 useEffect(() => {11 const interval = setInterval(() => {12 setProgress(progress + 1);13 }, 100);14 return () => clearInterval(interval);15 }, [progress]);1617 return (18 <div className="flex h-full w-full items-center justify-center p-10">19 <Progress20 value={progress}21 className="border-purple-500"22 indicatorClassName="bg-purple-500"23 showText24 />25 </div>26 );27};2829export default ProgressDemo;
What it pulls in
Other registry items
Files it writes
More from bucharitesh
All 26 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Book Demobook-demo | bucharitesh | Examples | Free | no deps | |
| Book Variant Demobook-variant-demo | bucharitesh | Examples | Free | no deps | |
| Game of Life Demogame-of-life-demo | bucharitesh | Examples | Free | no deps | |
| Game of Life Demo 2game-of-life-demo-2 | bucharitesh | Examples | Free | no deps | |
| Magical Mouse Demomagical-mouse-demo | bucharitesh | Examples | Free | no deps | |
| Metallic Button Demometallic-button-demo | bucharitesh | Examples | Free | no deps | |
| Pixel Icon Demopixel-icon-demo | bucharitesh | Examples | Free | no deps | |
| Split Text Effect Demosplit-text-effect-demo | bucharitesh | Examples | Free | no deps |
