v0 prompt
Analytics Dashboard
Data visualization dashboard with KPI cards, charts, data table, and date range filtering.
Build an analytics dashboard for {{dashboard_name}}. ## Purpose: {{purpose}} ## Key Metrics to Show: {{metrics}} ## Time Range: filterable by {{time_ranges}} ## Color scheme: {{colors}} ### Dashboard Layout **Header** Dashboard title + subtitle. Date range selector (last 7/30/90 days, custom). Export button. **KPI Cards Row (top)** 4 stat cards, each showing: metric name + current value + trend vs. previous period (↑↓ with %). Metrics: {{kpi_metrics}} Cards use soft colored backgrounds matching trend (green up / red down). **Main Chart Area (2-column)** Left (wider): Primary trend chart — {{primary_chart_type}} showing {{primary_metric}} over time. Right: Secondary breakdown — {{secondary_chart_type}} showing {{breakdown_metric}}. **Secondary Charts Row** 3 smaller charts: {{small_chart_metrics}} **Data Table** Sortable, filterable table showing raw data. Columns: {{table_columns}} Pagination: 25 rows per page. Row-level sparkline for trend column. **Sidebar (collapsible)** Filters panel: filter by {{filter_options}}. ### Technical Requirements - Recharts or Visx for data visualization - TanStack Table for data table - DatePicker for time range selection - Loading skeleton states for all data - Empty states with helpful messaging - Responsive: table becomes scrollable on mobile - Dark mode compatible with muted chart colors
Fill in: {{dashboard_name}}, {{purpose}}, {{metrics}}, {{time_ranges}}, {{colors}}, {{kpi_metrics}}, {{primary_chart_type}}, {{primary_metric}}, {{secondary_chart_type}}, {{breakdown_metric}}, {{small_chart_metrics}}, {{table_columns}}, {{filter_options}}. In Loopy you fill these in a form and copy the finished prompt in one click.
More ui design prompts
- CursorAdd Dark Mode with CSS VariablesImplement theme switching with CSS custom properties, localStorage persistence, system preference detection, and flash-free loading.
- CursorAdd WCAG Accessibility to UIWCAG 2.1 AA compliance: keyboard navigation, ARIA labels, focus management, color contrast, and screen reader support.
- v0Blog LayoutClean blog with featured posts, category filters, reading time, and author profiles.
- CursorBuild Multi-Step Form WizardMulti-step wizard with per-step validation, progress indicator, back/next navigation, and sessionStorage persistence.
- v0Component from DescriptionStructured prompt to generate a polished React component with proper accessibility, responsiveness, and dark mode support.
- v0Component Library ShowcaseDesign system documentation page showing component variants, usage examples, and code snippets.

