Charts
Fanning event markers
Fanning event markers: Round event badges pinned above a plot with guide lines; clustered ones stack into a counted badge that fans open on hover.
Using Fanning event markers
Fanning event markers 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 |
|---|---|---|---|
accent | color | #FF4D8D | No additional limit in the metadata. |
size | number | 28 | From 20 to 40; step 1 |
markers | number | 6 | From 3 to 10; step 1 |
maxFanned | number | 5 | From 3 to 8; step 1 |
showLines | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Fanning event markers?
Fanning event markers 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 Fanning event markers depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Fanning event markers?
The React source for Fanning event markers includes: attributes and handlers (aria-hidden, aria-label, tabIndex). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Fanning event markers handle reduced motion?
Fanning event markers reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduced ? { duration: 0.01 } : { duration: 0.16, ease: [0.2, 0.8, 0.2, 1] }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.