v0·Prompt

v0 Prompt: Generate a Dashboard Layout

When to Use This Prompt

Use this as a starting layout for any dashboard or admin panel. v0 generates the most visually polished layouts.

The Prompt

Create a dashboard layout with:

1. Collapsible sidebar with:
   - App logo at top
   - Navigation links with icons (Dashboard, Analytics, Users, Settings)
   - Active state indicator
   - Collapse/expand toggle
   - User avatar and name at bottom

2. Top header with:
   - Breadcrumb navigation
   - Search bar
   - Notification bell with badge
   - User dropdown menu

3. Main content area with:
   - 4 metric cards in a responsive grid
   - A chart placeholder area
   - A recent activity table

Design: clean lines, subtle shadows, proper spacing. Use shadcn/ui components. Light and dark mode support.

What to Customize

Update navigation items and metric card labels for your specific dashboard. Add additional sections in the content area as needed.

Expected Output

A complete dashboard layout component with sidebar, header, and content sections. Responsive with dark mode toggle.