Skip to content

    Browse components

    Progress

    Linear and circular progress with a spring-animated value and counting label, a moving sheen, and indeterminate slide and spin states.

    Open
    Customize
    linear
    circular
    sm
    md
    lg

    Installation

    npx shadcn@latest add @glint-ui/progress

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/progress.json

    Usage

    import { Progress } from "@/components/ui/progress";
    
    <Progress label="Uploading" value={progress} />
    <Progress variant="circular" value={null} label="Indexing" />

    Props

    PropTypeDefaultDescription
    valuenumber64Current value (0 to max). Pass null for indeterminate.
    indeterminatebooleanfalseDemo control: sends value={null}.
    variant"linear" | "circular""linear"Bar or ring.
    size"sm" | "md" | "lg""md"Thickness or diameter.
    labelstring"Building your workspace"Visible label and accessible name.
    showValuebooleantrueShow the animated percentage.
    maxnumber100Value at 100%.
    classNamestring—Extra classes for the root element.