Components

Neon Bar Chart

Recharts-powered bar chart with top-rounded neon bars, custom glow drop-shadow, multi-color mode, multi-series support, and horizontal layout.

npx neonblade add neon-bar-chart

Vertical bars — cyan (default)

Multi-color — auto neon palette

Multi-series — revenue vs costs

Horizontal bars — green, high glow

Props Configuration

PropTypeDefaultDescription
dataNBCDataPoint[]-Array of data objects keyed by xAxisKey + series dataKeys.
seriesNBCSeries[]-One or more bar series. Omit and use dataKey + color for a single series.
dataKeystring"value"Shorthand dataKey for a single series.
color"cyan" | "pink" | "green" | string"cyan"Shorthand neon accent color for a single series.
labelstring-Shorthand legend/tooltip label for a single series.
xAxisKeystring"name"Key in data used for category axis labels.
heightnumber260Chart height in px.
layout"vertical" | "horizontal""vertical"Bar orientation. Horizontal flips X/Y axes.
radiusnumber3Corner radius of each bar (top corners only, cyber style).
barGapnumber0.35Gap between bars as a fraction of bar width (0–1).
gridbooleantrueShow a subtle neon grid behind the chart.
legendbooleanfalseShow a series legend.
showYAxisbooleantrueShow Y-axis tick labels.
showXAxisbooleantrueShow X-axis tick labels.
glowIntensity"none" | "low" | "medium" | "high""medium"Neon drop-shadow glow on each bar.
multiColorbooleanfalseAuto-assign sequential neon colors to each bar in a single-series chart.
classNamestring-Additional className on the wrapper div.