Progress
A bar that fills as a task gets done.
Add it to your project
With the shadcn/ui commandTerminal
npx shadcn@latest add progress
Or install the packages yourselfTerminal
npm install radix-ui
First time with shadcn/ui? Set it up once.
The code
"use client"
import * as React from "react"
import { cn } from "@/lib/utils"
import { Progress as ProgressPrimitive } from "radix-ui"
function Progress({
className,
value,
...props
}: React.ComponentProps<typeof ProgressPrimitive.Root>) {
return (This comes with paid plans
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.