Stacked Bar

Horizontal 100 percent stacked bar splitting a total into colored segments with a wrapping legend of labels and percentages.

Traffic by device9,420 sessions
  • Mobile58%
  • Desktop32%
  • Tablet8%
  • Other2%

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Dashboard23 } from "@/components/beste/piece/dashboard23";

<Dashboard23
  title="Traffic by device"
  total="9,420 sessions"
  segments={[
    {
      "label": "Mobile",
      "value": 58
    },
    {
      "label": "Desktop",
      "value": 32
    },
    {
      "label": "Tablet",
      "value": 8
    },
    {
      "label": "Other",
      "value": 2
    }
  ]}
/>

More Dashboard pieces

View all Dashboard
2Critical
6Warning
14Info

Alert Summary

dashboard20

Three-tile alert overview with semantic icons and counts for critical, warning, and info severities.

68%
Storage used34 GB of 50 GB

Progress Circle

dashboard21

Radial progress gauge with a tone-colored arc, the percentage centered, and a caption line beside it.

Weekly sessions
186/ 220
34 to targetmax 300

Bullet Chart

dashboard22

Actual-vs-target bar with a tone-colored actual fill on a muted track and a thin foreground tick marking the target.

Last 24hpeak at 14:00
0006121824

Hourly Strip

dashboard24

Twenty-four hour activity strip with tone bars whose opacity scales with each hour's volume, labeled 00 to 24.

Services
  • APIOperational
    99.99%
  • IngestDegraded
    99.82%
  • BillingOperational
    99.97%
  • WorkersOperational
    99.95%

Service List

dashboard25

Service health rows with a pinging status dot, operational label, and a monospaced uptime percentage.

Milestones
DesignApr 2
BuildApr 12
QAApr 22
LaunchMay 3

Horizontal milestone tracker with tone-filled done checks, a ringed current step, muted pending steps, and dates below.