Add interactions
Interactions confirm actions and invite exploration; they never carry information alone.
Every pointer effect has a keyboard (:focus-visible) equivalent and a touch fallback, and
none shifts layout. For simple card and tile hovers, the hover-affordance workflow in
build-animation is enough; this skill covers the richer techniques.
Before building a component, interaction or effect, search Arsenal and reuse what fits; register
what you build there (~/agent-skills/shared/creative/arsenal.md). Extra selectable designs
follow ~/agent-skills/shared/creative/design-variants.md.
Steps
- Fit: read
~/agent-skills/shared/creative/adaptation.md for the product's mode and
motion intensity (0–4). Operate surfaces get subtle feedback; Persuade surfaces can carry
one expressive effect. Pick at most two techniques per page.
- Choose techniques from
~/agent-skills/shared/creative/README.md and load only those
files, for example:
shared/creative/techniques/magnetic-hover.md
shared/creative/techniques/cursor-light.md
shared/creative/techniques/interactive-tilt.md
shared/creative/techniques/spring-feedback.md
shared/creative/techniques/drag-interactions.md
- Technology: the simplest option in
~/agent-skills/shared/creative/selector.md
(CSS and Pointer Events first); reuse the project's motion library, never add a second.
- Implement behind
(hover: hover) and (pointer: fine) for pointer-only effects, with
reduced motion handled as each technique file says ("reduce, don't remove").
- Verify with
~/agent-skills/shared/creative/visual-loop.md: hover and focus states
screenshotted, keyboard path walked, touch viewport checked, and the audit-design runner
clean on hover side effects, focus and reduced motion.
Report
Which techniques went where, screenshot paths of the states, runner result, and anything
left unverified (for example real touch hardware).
1---2name: add-interactions3description: Add hover, press, drag and pointer interactions that fit the product (magnetic hover, cursor light, tilt, springs, drag) with keyboard parity, touch fallbacks and reduced motion, browser-verified. Use for "add hover interactions" or "micro-interactions".4metadata:5 source: https://skillmd.com/skills/amsborse/add-interactions6 aliases: "add interactions, hover interactions, add hover interactions, micro-interactions, micro interactions, make it interactive, make it feel interactive, magnetic button, magnetic hover, cursor effect, tilt effect, drag interaction, press feedback"7 keywords: "interaction, hover, pointer, cursor, magnetic, tilt, drag, spring, press, feedback, touch, keyboard, focus"8 composes: "build-animation, audit-design, verify"9 requires: "browser"10 risk: "low"11---1213# Add interactions1415Interactions confirm actions and invite exploration; they never carry information alone.16Every pointer effect has a keyboard (`:focus-visible`) equivalent and a touch fallback, and17none shifts layout. For simple card and tile hovers, the hover-affordance workflow in18`build-animation` is enough; this skill covers the richer techniques.1920Before building a component, interaction or effect, search Arsenal and reuse what fits; register21what you build there (`~/agent-skills/shared/creative/arsenal.md`). Extra selectable designs22follow `~/agent-skills/shared/creative/design-variants.md`.2324## Steps25261. **Fit:** read `~/agent-skills/shared/creative/adaptation.md` for the product's mode and27 motion intensity (0–4). Operate surfaces get subtle feedback; Persuade surfaces can carry28 one expressive effect. Pick at most two techniques per page.292. **Choose techniques** from `~/agent-skills/shared/creative/README.md` and load only those30 files, for example:31 - `shared/creative/techniques/magnetic-hover.md`32 - `shared/creative/techniques/cursor-light.md`33 - `shared/creative/techniques/interactive-tilt.md`34 - `shared/creative/techniques/spring-feedback.md`35 - `shared/creative/techniques/drag-interactions.md`363. **Technology:** the simplest option in `~/agent-skills/shared/creative/selector.md`37 (CSS and Pointer Events first); reuse the project's motion library, never add a second.384. **Implement** behind `(hover: hover) and (pointer: fine)` for pointer-only effects, with39 reduced motion handled as each technique file says ("reduce, don't remove").405. **Verify** with `~/agent-skills/shared/creative/visual-loop.md`: hover and focus states41 screenshotted, keyboard path walked, touch viewport checked, and the `audit-design` runner42 clean on hover side effects, focus and reduced motion.4344## Report4546Which techniques went where, screenshot paths of the states, runner result, and anything47left unverified (for example real touch hardware).