/hyper-effects:hyper-effectsfrom hyper-effects
Provides guidance on building Flutter UI with package:hyper_effects, covering state-driven animation, mount entrances, springs, rolling text, hover/press feedback, scroll transitions, timelines, keyframe sequencing, loops, and migration to version 0.4.0.
Ships in hyper-effects. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For Hyper Effects 0.4.0. Check the consuming app's resolved version before applying this reference; older releases have different APIs.
| Intent | API |
|---|---|
| Static appearance | Effect extensions without a driver |
| React to state or replay an event | .animate(trigger: value) |
| Entrance once per mounted State | .immediate() |
| Entrance and later trigger changes | .animate(trigger: value, startState: AnimationStartState.eager) |
| Sequential absolute keyframes | .step(...).timeline(...) |
| Pointer or scroll response | .pointerTransition(...) / .scrollTransition(...) |
Effects wrap widgets. An animation drives its descendant effect scope; nested drivers create independent scopes, not a sequence. Keep widget identity stable across state changes.
Use widget classes for reusable UI, not widget-returning helper functions. The short example below belongs inside build, with Flutter material and Hyper Effects imported.
return Text('$count')
.roll(widthCurve: Curves.easeOut)
.animate(trigger: count, duration: const Duration(milliseconds: 250));
Text.roll() reads the receiver's current text and retains its previous value. It takes named options only, not a replacement string. Call it before other extensions erase the receiver's Text type. For arbitrary widgets, use Widget.roll() with distinct child keys; its options are slideInDirection, slideOutDirection, multiplier, and useSnapshots.
trigger changes use equality comparison. Use an incrementing integer for repeated events; repeatedly assigning true is not a new event.lazy mounts at starting values and waits. eager plays on mount and keeps the trigger live. #immediate occupies the trigger slot; ordinary rebuilds do not replay it, but a new State does.from: for deliberate entrances/replays. For ordinary retargeting, preserve effect identity and derive the destination and trigger from state; do not blindly add a fixed origin.motion: or duration:/curve:, never both. Cupertino spring duration is perceptual, not exact settling time.playIf: false does not drive to the destination. skipIf: true jumps there without playback or onEnd. Reduced-motion entrances generally need the latter; completion-dependent UI needs an explicit skipped path..widthTo(), .heightTo(), .sizeTo(), .sizeOf() change layout; .scale() changes paint. Null size axes/factors represent layout modes, not zero-sized endpoints.IgnorePointer.Read recipes and pitfalls for effects and interaction. For sequencing, loops, scrubbing, or migration from animateAfter, read timelines. Verify snippets with flutter analyze and widget tests in the consuming package. Test mount, retrigger, interruption, reduced motion and actual tap positions where relevant. Use finite pumps for infinite loops.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hyper-designed/hyper_effects --plugin hyper-effectsOther plugins' skills for the same job