Progress/progress-with-label-

PreviousNext

A progress/progress-with-label- example

Docs
shadcnblocksblock

Preview

Loading preview…
code/example/progress/progress-with-label-2.tsx
import { Progress } from "@/components/ui/progress";

export const title = "With Label Above";

const Example = () => {
  const value = 45;
  return (
    <div className="w-full max-w-md space-y-2">
      <span className="text-sm font-medium">Uploading...</span>
      <Progress value={value} />
    </div>
  );
};

export default Example;

Installation

npx shadcn@latest add @shadcnblocks/progress-progress-with-label-2

Usage

import { ProgressProgressWithLabel2 } from "@/components/progress-progress-with-label-2"
<ProgressProgressWithLabel2 />