WebHaptics
Haptic feedback for the mobile web with hooks for React, Vue, and Svelte
WebHaptics adds haptic feedback to mobile web apps. You call a trigger, such as success, from a button, and it supports React, Vue, Svelte, and vanilla JavaScript. It uses the MIT license, has about 2,800 GitHub stars, and was at version 0.0.6 when checked.
npm i web-hapticsUse it to confirm key actions with a short vibration on phones. Keep haptics rare, and never use them as the only feedback.
Why it is here. It brings native-style haptics to web interfaces.
- Mobile web haptics
- React
- Vue
- and Svelte
- MIT license
Verified 2026-10-09. HTTP 200. https://haptics.lochie.me/ (HTTP 200, page fetched 2026-10-09), https://github.com/lochie/web-haptics (GitHub API, 2805 stars), depo.zip listing https://www.depo.zip/tools/j57ayd2f9177qnr7tw1e4me2a98254jk








