Progress Component Prompt
Prompt intent
Generate Progress implementations that follow Yoonet AU & NZ tokens, typography, spacing, and interaction conventions.
Output target
Progress variants + usage-ready code
Project completion
68%
Design review
35%
Development
90%
progress-prompt.txtComponent prompt
# Progress — Yoonet AU & NZ Component Prompt
You are building a Progress component for Yoonet AU & NZ.
Use shadcn/ui with the CSS variables below applied to :root.
## Active Brand Tokens
--primary: hsl(231 100% 77%); /* #8A9EFF */
--primary-foreground: hsl(0 0% 100%); /* #fff */
--secondary: hsl(183 70% 76%);
--secondary-foreground: hsl(235 22% 12%);
--destructive: hsl(341 100% 70%); /* #FF6495 */
--radius: 0.5rem;
--font-heading: var(--font-heading); /* Manrope */
--font-body: var(--font-body); /* Inter */
## Typography
- Heading font: Manrope (weights 700, 800)
- Body / UI font: Inter (weights 400, 700)
## Code Conventions
- Import from @/components/ui/progress
- Use cn() from @/lib/utils for conditional classes
- "use client" only when state or events are needed
- No inline hex values — always reference CSS variables
## Usage
```tsx
import { Progress } from "@/components/ui/progress"
<Progress value={68} className="h-2" />
{/* Labelled */}
<div>
<div className="flex justify-between mb-1.5">
<p className="text-xs text-muted-foreground">Project completion</p>
<p className="text-xs font-semibold text-primary">68%</p>
</div>
<Progress value={68} className="h-2" />
</div>
```
## Rules
- Filled track: var(--primary) (#8A9EFF)
- Empty track: var(--muted)
- Always show a numeric label alongside the bar
- Height: h-1.5 or h-2 for standard, h-3 for emphasis
- Percentage label uses text-primary colourRecommended workflow
- Select your brand and component variant first.
- Paste this prompt in your AI tool and request one state at a time.
- Validate spacing, contrast, and interaction states before shipping.