Dashboard with sidebar

App dashboard with sidebar navigation, stat cards, and data table. Built with Dashboard, Card, and Table components.

This block combines the Dashboard layout (sidebar + main), Card components for stats, and a Table for data. Use it as a starting point for app dashboards. You get the same structure when you scaffold with npx rizzo-css init --template dashboard.

Preview

Below is the block rendered with Rizzo components. In your app this would be your root layout and page content.

Dashboard

Overview. Replace with your own content.

Key metrics

Total users 1,234
Revenue $12,345
Active 89%

Recent activity

Recent activity list
Name Status Date
Item one Done Today
Item two Pending Yesterday
Item three Failed Jan 15

Usage

Copy the snippet for your framework. Astro uses the Dashboard component; others use the same BEM structure (sidebar + main, stats grid, table).

Usage

Full example for each framework (Astro, Vanilla, Svelte, Vue, React). Switch framework via View as or by clicking a Usage tabโ€”both stay in sync.

Astro Vanilla Svelte Vue React

Get this block via CLI

Scaffold a new project with the Dashboard template (Vanilla, Astro, Svelte, React, or Vue):

bash bash
npx rizzo-css init --framework astro --template dashboard --yes

Or add to an existing project:

bash bash
npx rizzo-css add --framework astro --template dashboard

Components used

  • Dashboard โ€” layout with sidebar + main
  • Card โ€” stat cards
  • Table โ€” data table (with Badge for status)