jshguo

Progress

Component 12

About

Progress bar component built on Radix UI with smooth value transitions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Progress to your project and fits it to your theme.

Code

How Progress is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import { Progress } from "@/components/ui/interfaces-progress"

export default function ProgressStepsDemo() {
  const steps = [
    { label: "Profile", value: 100 },
    { label: "Account", value: 75 },
    { label: "Billing", value: 40 },
    { label: "Notifications", value: 10 },
  ]

  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
      <div className="w-full max-w-sm space-y-5">
        {steps.map((step) => (
          <div key={step.label} className="space-y-1.5">
            <div className="flex items-center justify-between text-sm">
              <span className="font-medium">{step.label}</span>
              <span className="text-muted-foreground">{step.value}%</span>
            </div>
            <Progress value={step.value} />
          </div>
        ))}
      </div>
    </div>
  )
}

Dependencies

More by jshguo

View all
  • Select

    Select

    377
  • Textarea

    Textarea

    262
  • Interfaces Carousel

    Interfaces Carousel

    164
  • Input OTP

    Input OTP

    163
  • Switch

    Switch

    140
  • Hover Card

    Hover Card

    113
  • Card

    Card

    89
  • Interfaces Breadcrumb

    Interfaces Breadcrumb

    65