Progress

A rounded tube that fills with a springy ease and rolling stripes. It glints when full.

View as Markdown
Experience · 18%

Installation

npx shadcn@latest add @cozy/progress

Usage

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

<Progress value={64} tone="success" />

Examples

Tones and sizes

Reward · 35%
Success · 80%
Primary, small · 12%
Complete (glints)

API

Everything else is passed through to the underlying element or Radix primitive.

PropTypeDefaultDescription
valuenumber–Current value, 0 to max.
tone"reward" | "success" | "primary""reward"Fill colour.
size"default" | "sm""default"Small is 14 px tall.