---
name: nexu-io/fx-firework
source: https://app.decimal.ai/s/nexu-io-fx-firework@1/SKILL.md
source_sha256: d12c38ca2746
---

# Firework

Fireworks launch and burst — a festive hero moment. From [Open Design](https://github.com/nexu-io/open-design)'s html-ppt fx pack (Apache-2.0).
Part of [motion-anything](https://github.com/nexu-io/motion-anything); obeys `MOTION-SPEC.md`.

## When to use it
- Title cards, section breaks, or hero moments in slides / launch videos.

## When NOT to use it (restraint)
- Web body content or anything needing focused reading. Never more than one bold effect at once.

## How to apply
1. Copy `firework.js` and `_util.js` and link them.
2. Add `data-fx="firework"` to a positioned container; call `HPX['firework'](el)` (guard prefers-reduced-motion).

## Accessibility & performance
- Guard with prefers-reduced-motion (don't start). Canvas-based; isolated compositing layer.