Backgrounds
Firework burst canvas
Firework burst canvas: Shells launch from the bottom edge, arc up trailing a streak, then burst into sparks that fall away under gravity.
Using Firework burst canvas
Firework burst canvas 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 |
|---|---|---|---|
density | number | 1 | From 0.25 to 4; step 0.25 |
accent | color | #F5C542 | No additional limit in the metadata. |
sparkCount | number | 90 | From 20 to 200; step 5 |
shellSpeed | number | 6 | From 2 to 12; step 0.5 |
gravity | number | 0.05 | From 0 to 0.2; step 0.005 |
Which frameworks are available for Firework burst canvas?
Firework burst canvas 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 Firework burst canvas depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Firework burst canvas?
The React source for Firework burst canvas includes: attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Firework burst canvas handle reduced motion?
Firework burst canvas reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.