Gestures covers anything a user drags, swipes, flings, holds or dismisses: drawers, sheets, swipe-to-dismiss toasts and cards, drag-to-reorder, pull-to-refresh and hold-to-confirm. It starts by deciding whether to build the gesture or use an existing solution, splits every gesture into a track phase and a release phase, and treats interruptibility as required. It also helps when a gesture feels laggy, jumps on release or cannot be grabbed mid-animation.
What You Get
- A build-or-reuse decision before any code
- Track-phase and release-phase rules
- Interruptible gestures that can be caught mid-animation
- A touch checklist and reduced-motion handling
Common Use Cases
- Building a bottom sheet with snap points
- Adding swipe-to-dismiss to a toast or card
- Fixing a gesture that jumps when released
What Makes It Unique
It treats the finger as the source of truth: during tracking the element follows one to one, and on release the speed carries into the animation. Interruptibility is required, and the skill names Vaul and Motion drag props as the existing solutions to check first.
Under The Hood
A single SKILL.md with no scripts and no network access. The model reads the component, decides whether an existing library fits, and writes or edits gesture code with Motion drag props or Vaul when they apply.