Measured entry

neobrutalism-chart

chartbrutalism

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.

Specimen
Harness screenshot of neobrutalism-chart at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neobrutalism-chart at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neobrutalism-chart 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 neobrutalism-chart
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal99.9 KB (165.3 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for neobrutalism-chart
Declared dependenciesrecharts, lucide-react
Missing on installnone
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, 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.

License
MIT
Record published
2026-08-13

Alternatives

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.