ProgressCard
A card that tracks progress: headline, percentage, progress bar and actions.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
A card that tracks progress: headline, percentage, progress bar and actions.
Accessibility
When the whole card is actionable, expose a single accessible name and make it reachable with Tab + Enter. Decorative imagery uses empty alt.
Install and import
npx shadcn@latest add @prism/progress-card
import { ProgressCard } from '@/components/prism/ProgressCard';
In a no-build prototype, read it from the bundle instead: const { ProgressCard } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
title | React.ReactNode | — | |
subtitle | React.ReactNode | — | |
value | number | — | |
max | number | — | |
tone | "accent" | "positive" | "notice" | "negative" | — | |
showPercent | boolean | — | Show the % figure top-right. Default true. |
bar | React.ReactNode | — | Supply a custom ProgressBar/node; otherwise one is rendered from value/max. |
actions | React.ReactNode | — | |
className | string | — |