← Browse

@nexu-io/fx-chain-react

A

A chain reaction of bursts ripples across the frame. A bold, canvas-based effect from Open Design's html-ppt fx pack — for slides and launch videos. Guards prefers-reduced-motion (does not start). One per screen; on web use sparingly.

skillclaude

Install

agr install @nexu-io/fx-chain-react --target claude

Writes 5 files into .claude/skills/, pinned to git-d6653b3e.

  • .claude/skills/fx-chain-react/SKILL.md
  • .claude/skills/fx-chain-react/_util.js
  • .claude/skills/fx-chain-react/chain-react.js
  • .claude/skills/fx-chain-react/preview.html
  • .claude/skills/fx-chain-react/recipe.motion.yaml

Document


name: fx-chain-react description: | A chain reaction of bursts ripples across the frame. A bold, canvas-based effect from Open Design's html-ppt fx pack — for slides and launch videos. Guards prefers-reduced-motion (does not start). One per screen; on web use sparingly. triggers:

  • "chain"
  • "链式反应" od: mode: prototype surface: web platform: desktop category: animation-motion upstream: "https://github.com/nexu-io/open-design" preview: type: html design_system: requires: false example_prompt: | Use fx-chain-react as a section effect on a slide or hero: call HPX'chain-react' on a positioned dark container; keep to one bold effect per screen, with a reduced-motion guard.

Chain Reaction

A chain reaction of bursts ripples across the frame. From Open Design's html-ppt fx pack (Apache-2.0). Part of 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 chain-react.js and _util.js and link them.
  2. Add data-fx="chain-react" to a positioned container; call HPX['chain-react'](el) (guard prefers-reduced-motion).

Accessibility & performance

  • Guard with prefers-reduced-motion (don't start). Canvas-based; isolated compositing layer.

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-d6653b3e022e2026-07-31