One API Everywhere
Web Vibration API, Gamepad rumble, React Native, iOS audio -- one consistent interface across all platforms.
Tiny, zero-dependency haptics library with a beautiful API, a novel pattern language, and first-class framework integrations.
Install the core package:
npm install @hapticjs/coreAdd haptic feedback in three lines:
import { haptic } from '@hapticjs/core';
haptic.tap();
haptic.success();
haptic.play('~~..##..@@');