Charts
Paired bar chart
Paired bar chart: A grouped bar chart where each month shows two side-by-side bars, one per series, for comparing two measures across the same categories.
Using Paired bar chart
Paired bar chart uses the wide preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
primaryColor | color | #38BDF8 | No additional limit in the metadata. |
secondaryColor | color | #FF6A1F | No additional limit in the metadata. |
barRadius | number | 6 | From 0 to 14; step 1 |
groupGap | number | 16 | From 4 to 32; step 2 |
animate | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Paired bar chart?
Paired bar chart is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Paired bar chart depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Paired bar chart?
The React source for Paired bar chart includes: native elements (button); attributes and handlers (aria-hidden, aria-label, onKeyDown); key comparisons (ArrowLeft, ArrowRight). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Paired bar chart handle reduced motion?
Paired bar chart reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.