Component referenceSource owned

Progress

Displays an indicator showing the completion progress of a task.

Upstream reference
On this page2 sectionsBack to top
Live preview
Loading preview...

#Installation

npx shadcn@latest add https://neobrutal-ui.andongmin.com/r/progress.json

#Usage

import * as React from "react";

import { Progress } from "@/components/ui/progress";
const [progress, setProgress] = React.useState(13);

React.useEffect(() => {
  const timer = setTimeout(() => setProgress(66), 500);
  return () => clearTimeout(timer);
}, []);
<Progress value={progress} className="w-[60%]" />