Measured entry
shadcn-block-dashboard-01
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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 2 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 2 |
| Axe minor | 1 |
| Gzip marginal | 249.6 KB (315.0 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | none |
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
| 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 install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no 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/uiAlternatives
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.
- hyperui-stats-1unclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 3.4KB
- Bare
- pass
- Prov
- NO
- hyperui-app-stats-4editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- tailark-mist-stats-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-stats-4minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-stats-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- hyperui-stats-2editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO