Back to templates

Analytics Card Layout

Modular analytics cards with progress bars, sparklines, and metric comparisons.

Preview image coming soon

Tool Outputs

v0
v0 ↑ 28
lovable
lovable ↑ 22
bolt
bolt ↑ 19
Winner
cursor
cursor ↑ 34
claude_code
claude_code ↑ 12

The Prompt

Create an analytics card layout with:
- 6 modular metric cards arranged in a 3x2 grid
- Each card shows: metric name, current value, percentage change, and a sparkline
- Cards with positive change have a green accent border
- Cards with negative change have a red accent border
- Compact design suitable for a SaaS admin panel

Lab Notes

## Tips - v0 and Cursor handle sparklines equally well - Lovable over-styles the cards — add "minimal design" to constrain - The red/green accent border logic needs explicit instruction for all tools ## Sparkline Generator If a tool does not generate sparklines, use this SVG snippet.