Metric Cards + Chart

Row of KPI cards over a larger chart.

THE PROMPT

## Role You are a senior product designer and front end engineer who builds polished, accessible dashboard UIs. ## Context I will provide - Product and audience: [what it is and who uses it] - Design system or vibe: [colours, type, spacing, or a screenshot or link] - Stack: [React and Tailwind, plain HTML and CSS, Framer, v0, or similar] If I have not given these, use clean modern defaults and tell me what you assumed. ## Build Build a dashboard with a grid of metric cards above a larger chart. - Metric cards, each with a label, current value, and a change indicator versus the previous period - A larger chart or visualisation below, with a time range control ## States and interaction - A loading skeleton and an empty state for when there is no data yet - Change indicators pair an arrow with the value, not colour alone ## Responsive - On mobile stack the metric cards and let the chart scroll or simplify. ## Accessibility - Keep numbers legible and contrast strong - Keep change framing readable without colour alone - Give controls visible focus states ## Output Production ready code in my stack, or a clear component spec if I have not named a stack. Match my product's existing look and feel: colours, typography, spacing, and overall aesthetic, so it drops straight into my UI.

How to use this prompt

1. Copy the prompt above.

2. Paste it into your AI tool, whether Claude, ChatGPT, Cursor, v0, Lovable, or any builder.

3. Add a screenshot of your existing UI so the result matches your colors, type, and spacing.

Related prompts

Browse more prompts in this same category.

Browse all prompts →