react-utils/gestures-scroll-and-sticky-interactions

Official

Enhance pointer-driven interactions with React.

Authornoaignite
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill unit solves the problem of creating complex pointer-driven interactions, including scrollable containers, long-press behaviors, and sticky UI elements in React applications.

Core Features & Use Cases

  • Pointer-Driven Interactions: Utilize useGesture to build custom pointer interactions.
  • Drag-to-Scroll Containers: Turn any container into a scrollable area with useDragScroll.
  • Long-Press Behavior: Implement long-press functionality with usePressHold.
  • Viewport-Relative Scroll Progress: Track scroll progress with useScrollProgress.
  • Sticky State UI: Apply sticky states to UI elements with useSticky.
  • Use Case: A web app with a sticky navigation bar and a draggable sidebar for better user experience.

Quick Start

To enable sticky headers and drag-scrolling on a component, install the @noaignite/react-utils package and use the provided hooks.

Dependency Matrix

Required Modules

@noaignite/react-utils

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-utils/gestures-scroll-and-sticky-interactions
Download link: https://github.com/noaignite/accelerator/archive/main.zip#react-utils-gestures-scroll-and-sticky-interactions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.