Charts
Grow bar chart
Grow bar chart: A bar chart that grows its columns up from the baseline on load, switches between vertical and horizontal layout, and highlights one bar at a time on hover.
Using Grow bar chart
Grow bar chart uses the wide preview frame with a 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 |
|---|---|---|---|
orientation | select | vertical | Options: vertical, horizontal |
accentColor | color | #9BE15D | No additional limit in the metadata. |
barCount | number | 7 | From 3 to 12; step 1 |
showGrid | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Grow bar chart?
Grow 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 Grow bar chart depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Grow bar chart?
The React source for Grow bar chart includes: native elements (button); attributes and handlers (aria-hidden, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Grow bar chart handle reduced motion?
Grow bar chart reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: transitionDelay: reduce ? "0ms" : `${i * 50}ms`; transitionDuration: reduce ? "1ms" : "650ms". Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.