Components
Loading preview...
Here is Progress component
npx shadcn@latest add https://21st.dev/r/anubra266/progress-1"use client";
import { Progress } from "@ark-ui/react/progress";
export default function LinearSizes() {
return (
<div className="w-full max-w-sm mx-auto space-y-6">
{/* Small */}
<Progress.Root defaultValue={65} className="w-full space-y-2">
<Progress.Label className="text-xs font-medium text-gray-700 dark:text-gray-300">
Small
</Progress.Label>
<Progress.Track className="h-1 w-full bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden">
<Progress.Range className="h-full bg-blue-600 dark:bg-blue-500 transition-all duration-300 ease-out rounded-full" />
</Progress.Track>
</Progress.Root>
{/* Medium */}
<Progress.Root defaultValue={65} className="w-full space-y-2">
<Progress.Label className="text-sm font-medium text-gray-700 dark:text-gray-300">
Medium
</Progress.Label>
<Progress.Track className="h-2 w-full bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden">
<Progress.Range className="h-full bg-blue-600 dark:bg-blue-500 transition-all duration-300 ease-out rounded-full" />
</Progress.Track>
</Progress.Root>
{/* Large */}
<Progress.Root defaultValue={65} className="w-full space-y-2">
<Progress.Label className="text-base font-medium text-gray-700 dark:text-gray-300">
Large
</Progress.Label>
<Progress.Track className="h-3 w-full bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden">
<Progress.Range className="h-full bg-blue-600 dark:bg-blue-500 transition-all duration-300 ease-out rounded-full" />
</Progress.Track>
</Progress.Root>
</div>
);
}