Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Drawer
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Kbd
- Label
- Menubar
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toggle
- Toggle Group
- Tooltip
- Typography
x
import { Progress } from "@/components/ui/progress";
export function ProgressDemo() {
return <Progress style={{ maxWidth: 320 }} value={60} />;
}Installation
$ pnpm dlx shadcn@latest add https://shadcn-cssinjs.com/r/progress.json
Usage
import { Progress } from "@/components/ui/progress/progress";<Progress value={60} />Examples
Label
Use ProgressLabel and ProgressValue to show a label and the current value.
Upload progress56%
x
import {
Progress,
ProgressLabel,
ProgressValue,
} from "@/components/ui/progress";
Controlled
x
"use client";
import { useState } from "react";
import { Progress } from "@/components/ui/progress";
import { Slider } from "@/components/ui/slider";RTL
To enable right-to-left support, see the RTL guide.
x
"use client";
import { useTranslation } from "@/components/language-selector";
import type { Translations } from "@/components/language-selector";
import { Progress } from "@/components/ui/progress";
API Reference
See the Base UI documentation for the full API.