Measured entry
neobrutalism-chart
A client-side React chart wrapper distributed as a shadcn registry item. It provides a Recharts container, config-driven theme variables, and custom tooltip and legend renderers styled with Tailwind utilities and project design tokens. It declares Recharts, Lucide React, and the registry's ncard item, and imports the usual cn helper through an app alias.



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 | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 99.9 KB (165.3 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 24.73s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/chart.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A solid fit for an existing neobrutalist Recharts stack: it builds, mounts, stays contained across the tested layouts, and raised no automated accessibility findings. It does not mount bare and needs a shadcn-style setup, while its charting dependency adds a substantial client cost.
Use it if
- Your app already uses Recharts and you want tooltip, legend, and color configuration to share one API.
- Your Tailwind theme already exposes the neobrutalist border, background, font, and shadow tokens used by the component.
- You want chart colors to switch with light and dark themes through generated CSS variables.
Skip it if
- Client bundle cost is a tight constraint and Recharts is not already part of the app.
- Your design system does not use Tailwind utilities or shadcn-style theme tokens.
- You need a server-only chart component or a charting library other than Recharts.
- You need built-in data-table or narrative alternatives for chart accessibility rather than supplying them separately.
Install
| Declared dependencies | recharts, lucide-react |
|---|---|
| Missing on install | none |
| 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, install Recharts and Lucide React, configure Tailwind, provide the @ alias and cn class-merging helper, and define the referenced color, border, radius, font, and shadow tokens. Copy the client component and its theme CSS conventions. The registry also declares ncard, although this chart source does not import it directly.
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/ekmas/neobrutalism-componentsAlternatives
Other published entries for the chart pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tripled-holographic-wall-shadcnuiholographic
- Renders
- YES
- A11y
- 0
- Gzip
- 58.6KB
- Bare
- pass
- Prov
- NO
- hextaui-emptyminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.4KB
- Bare
- fail
- Prov
- NO
- ruixen-variable-textunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 70.6KB
- Bare
- fail
- Prov
- NO
- shadcn-chartunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 99.9KB
- Bare
- fail
- Prov
- NO
- 8bitcn-chartskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 127.7KB
- Bare
- fail
- Prov
- NO
- 8bitcn-chart-area-stepskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 130.7KB
- Bare
- fail
- Prov
- NO