Get Started
Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Attachment
- Avatar
- Badge
- Breadcrumb
- Bubble
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Confirm Dialog
- Container
- Context Menu
- Dialog
- Direction
- Drawer
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input Number
- Input OTP
- Item
- Kbd
- Label
- Marker
- Menubar
- Message
- Message Scroller
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Tailwind Indicator
- Textarea
- Toggle
- Toggle Group
- Tooltip
x
"use client"
import * as React from "react"
import { Progress } from "@/components/ui/progress"Installation
pnpm slabui add progress
Usage
import { Progress } from "@/components/ui/progress"<Progress value={33} />Composition
With label and value
Use ProgressLabel and ProgressValue to add a label and value display.
import {
Progress,
ProgressLabel,
ProgressValue,
} from "@/components/ui/progress"
;<Progress value={56} className="w-full max-w-sm">
<ProgressLabel>Upload progress</ProgressLabel>
<ProgressValue />
</Progress>Progress
├── ProgressLabel
├── ProgressValue
└── ProgressTrack
└── ProgressIndicatorLabel
Use ProgressLabel and ProgressValue to add a label and value display.
Upload progress56%
x
import { Progress, ProgressLabel, ProgressValue } from "@/components/ui/progress"
export function ProgressWithLabel() {
return (
<Progress value={56} className="w-full max-w-sm">Controlled
A progress bar that can be controlled by a slider.
x
"use client"
import * as React from "react"
import { Progress } from "@/components/ui/progress"API Reference
See the Base UI Progress documentation.