Progress
Progress bar with semantic tones, sizes, an optional label with tabular percentage, and an indeterminate mode.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/progress.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/progress. You can also copy the source into components/ui/progress.tsx (view on GitHub).
Usage
import { Progress } from '@/components/ui/progress'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
value | number | — | 0–100. |
tone | 'accent' | 'success' | 'warning' | 'danger' | 'neutral' | 'accent' | Fill colour. |
size | 'sm' | 'md' | 'lg' | 'md' | Track height. |
indeterminate | boolean | false | Unknown duration. |
label | string | — | Visible label (also names the bar). |
showValue | boolean | false | Show the percentage. |
Related Core components
- Breathing Dot
Soft pulsating status indicator.
- Skeleton
Loading placeholders.
- Avatar Stack
Overlapping avatars that make room: hover or focus one and it lifts while neighbours part on a spring, revealing a frosted name tag with role and presence. The “+N” chip opens a tidy list of…
- Avatar
User image with initials fallback.
- Button
Versatile button with variants and sizes.
- Toast
Transient notifications with a provider.