Measured entry

8bitcn-chart-bar

chartskeuomorphism

A client-side grouped bar chart shipped as a shadcn registry block with its own chart container and tooltip helpers. It renders hardcoded desktop and mobile series through Recharts, uses Tailwind utility classes and a cn helper, and expects theme color variables for the series and surrounding UI.

Specimen
Harness screenshot of 8bitcn-chart-bar at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of 8bitcn-chart-bar at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-chart-bar 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 8bitcn-chart-bar
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal133.9 KB (199.4 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1.39s
error during build:
[vite]: Rollup failed to resolve import "recharts" from "<sandbox>re-be43d62d6707/src/cut/components/ui/8bit/blocks/chart-bar.tsx".

Verdict

A dependable starting point for desktop and tablet dashboards: it builds, mounts, and renders cleanly with a useful tooltip. Adopt it if Recharts is already acceptable, but budget time to expose data as props and fix the narrow-screen overflow before shipping it responsively.

Use it if

  • You need a compact grouped comparison chart and are comfortable replacing the included sample data.
  • Your app already uses Tailwind utilities, theme tokens, and path aliases compatible with the included chart helper.
  • You want a tooltip-driven chart with no provider setup or animation requirement.

Skip it if

  • The chart must fit narrow mobile layouts without additional responsive work, because the verified rendering overflows there.
  • You need a visible legend, title, or persistent value labels out of the box.
  • Adding Recharts is too much dependency weight for a single simple chart.
  • You want a reusable data-driven component rather than editing hardcoded series and labels in the source.

Install

Installation record for 8bitcn-chart-bar
Declared dependenciesrecharts@3.8.0, lucide-react, clsx, tailwind-merge
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, add Recharts, lucide-react, clsx, and tailwind-merge; copy both the block and chart helper; provide the cn utility or replace it; configure the import alias; and define the Tailwind theme tokens and chart color variables used by the classes.

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-16

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.