Skip to content

Discovery Dashboard

A responsive analytics dashboard implementation across React, Vue, and Lit.

Try it Live

Open any framework example directly in StackBlitz:

Open React in StackBlitzOpen Vue in StackBlitzOpen Lit in StackBlitz
Mobile layout

Mobile

Mobile dark mode layout

Mobile - Dark

Tablet layout

Tablet

Tablet dark mode layout

Tablet - Dark

Desktop layout

Desktop

Desktop dark mode layout

Desktop - Dark

What's Included

Experimental Feature: AI-Assisted UI Generation

Generating UI components via LLM prompting is non-deterministic; different models (and even different versions of the same model) can produce drastically varying results from identical prompts.

While these prompts have been tested using the Claude Code CLI (running Claude Sonnet 4.5), the output remains experimental. Always verify generated code for visual consistency, accessibility, and production readiness before deployment.

  • Three framework examples: React, Vue, and Lit implementations
  • Collapsible sidebar navigation: With branding, nav links, and user profile
  • Analytics cards: Key metrics with progress indicators
  • Tabbed content areas: Activity feed, resources, and notifications
  • PROMPT-3-FRAMEWORKS.md: Feed directly to your LLM for AI-assisted customization

Using with an LLM

The PROMPT-3-FRAMEWORKS.md file contains everything an AI assistant needs to understand and modify the dashboard:

  1. Copy the PROMPT-3-FRAMEWORKS.md contents
  2. Paste into Claude, ChatGPT, or your preferred LLM
  3. Ask for customizations: "Add a chart widget to the analytics section"

Components Used

ComponentPurpose
ag-accordionCollapsible content sections
ag-alertNotification and status messages
ag-avatarUser profile images
ag-badgeStatus indicators and counts
ag-breadcrumbNavigation breadcrumb trail
ag-buttonActions and navigation triggers
ag-cardContent containers for metrics and widgets
ag-dividerVisual separators between sections
ag-empty-statePlaceholder for empty data areas
ag-flexLayout containers for responsive grid
ag-headerTop navigation bar
ag-icon-buttonIcon-only action buttons
ag-progressMetric progress bars
ag-sidebarCollapsible side navigation
ag-skeleton-loaderLoading state placeholders
ag-tabsTabbed content switching
ag-tagCategory and status labels
ag-toastTransient notification messages

Responsive Behavior

BreakpointLayout
Mobile (<768px)Sidebar hidden, hamburger menu, stacked cards
Tablet (768-1199px)Collapsed sidebar, two-column card grid
Desktop (≥1200px)Full sidebar, multi-column analytics layout