Controls

Progress

Preview
Reduced motion

Simulates prefers-reduced-motion for the demo. Off follows your system setting.

Keyboard stepping

Steps focus through the demo with ] and [. Tab, arrows, and Escape stay native so the component behaves as shipped.

Progress
Uploading32%
Preparing

Progress

A slim bar with a glowing edge that turns green when the task is done.

Installation

npx shadcn@latest add ikislay/pixel-ui/progress

How to use

import { Progress } from "@/components/ui/progress"
export function Demo() {
return <Progress value={64} aria-label="Upload" />
}

Source Code

// Loading…

Props

Options you can pass to customize this component.

Prop
Type
Description
value
number

How far along, from 0 to max. Leave it unset for an indeterminate sweep.

max
number

The value that means done.

className
string

Merged onto the root element.