Progress
Apple 27 linear progress indicator featuring a capsule track with 0.5px hairline stroke, solid accent fill, sm/default sizes, and indeterminate shimmer animation.
Fully compatible with the standard shadcn/ui JSX API (Progress / ProgressLabel / ProgressValue / ProgressTrack / ProgressIndicator), faithful to Apple 27 Progress Indicators / Linear / Determinate:
- Capsule track: Subtle track fill (
rgba(0,0,0,.06)light /rgba(255,255,255,.1)dark) with a 0.5px hairline stroke and solid theme accent pill fill (minimum width equals track height, showing a dot at0%). - Responsive sizing:
sm4px mobile ↔ 6px desktop (2 Sm);default6px mobile ↔ 10px desktop (3 Rg). - Indeterminate state: Pass
value={null}for a smooth horizontal shimmer sweep (slows gently under Reduced Motion).
Installation (Shadcn Registry)
npx shadcn@latest add @apple-liquid/progressUsage
import { Progress, ProgressLabel, ProgressValue } from '@/components/ui/progress';
export function Example() {
return (
<Progress value={60}>
<ProgressLabel>Downloading</ProgressLabel>
<ProgressValue />
</Progress>
);
}Props API
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | null | — | Current progress; null renders indeterminate shimmer |
size | 'sm' | 'default' | 'default' | Track thickness |
min / max | number | 0 / 100 | Value range |
format | Intl.NumberFormatOptions | — | Number formatting for ProgressValue |
Popover
Responsive Apple Liquid Glass popover displaying a 20px-radius floating macOS 27 Liquid Glass panel on desktop, and automatically switching to a swipe-to-dismiss iOS 27 bottom Liquid Glass Sheet on mobile.
Questionnaire
One-question-at-a-time stepped survey with Apple-styled single/multi-select option cards, keyboard letter/number shortcuts, Liquid Glass text inputs, and Previous / Skip / Next navigation.