Measured entry

shadcn-block-dashboard-01

statsminimal-flat

A full-page React dashboard block shipped through the shadcn registry, combining an off-canvas sidebar, metric cards, an interactive Recharts area chart, and a sortable, draggable TanStack table. It assumes shadcn UI primitives, Tailwind theme tokens, and path aliases, and brings DnD Kit, Tabler icons, Zod, Recharts, and related UI packages.

Specimen
Harness screenshot of shadcn-block-dashboard-01 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-block-dashboard-01 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-block-dashboard-01 at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for shadcn-block-dashboard-01
BuildOK
MountOK
Console errors2
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate2
Axe minor1
Gzip marginal249.6 KB (315.0 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usednone

What the harness recorded

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

BARE BUILD

✗ Build failed in 28.31s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/sidebar.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid scaffold for an existing shadcn app, with useful table and chart interactions and responsive behavior. It needs a shadcn-style setup to work at all, and its accessibility findings plus broad dependency cost make it a poor drop-in for lean or compliance-sensitive projects.

Use it if

  • You need a complete admin dashboard scaffold with navigation, summary cards, a chart, and an interactive data table.
  • Your app already follows shadcn conventions and can absorb the block's registry components and package dependencies.
  • You want copy-owned React code that your team will connect to real data, routes, and user state.

Skip it if

  • You only need a compact stats section or chart, since this block includes an entire dashboard shell and a broad dependency set.
  • Your accessibility baseline must pass without remediation; the tested block has contrast, table-header, and main-landmark issues.
  • Your project cannot adopt shadcn aliases, theme tokens, utility helpers, and registry primitives.
  • You need production data wiring out of the box; the source uses fixture records, placeholder links, and a sample avatar path.

Install

Installation record for shadcn-block-dashboard-01
Declared dependencies@dnd-kit/core, @dnd-kit/modifiers, @dnd-kit/sortable, @dnd-kit/utilities, @tabler/icons-react, @tanstack/react-table, zod, radix-ui, class-variance-authority, lucide-react, recharts@3.8.0, vaul, sonner, next-themes
Missing on install@dnd-kit/core, @dnd-kit/modifiers, @dnd-kit/sortable, @dnd-kit/utilities, @tabler/icons-react, @tanstack/react-table, recharts@3.8.0
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add the source alias, the shared class-name utility under the expected lib path, Tailwind styling and theme tokens, every referenced shadcn registry primitive, and the declared chart, table, drag-and-drop, validation, and icon packages. Also provide the global styles and client-side setup those primitives expect.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Author repository

github.com/shadcn-ui/ui
License
MIT
Record published
2026-08-13

Alternatives

Other published entries for the stats pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.