Skip to content
IndexDesign corpus
Motion & InteractionPrimitiveMITFreeReact

WebHaptics

Haptic feedback for the mobile web with hooks for React, Vue, and Svelte

Abouthaptics.lochie.me

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.

Install
npm i web-haptics
For an agent

Use 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.

Install command, framework, licence and component list.
Notable for
  • Mobile web haptics
  • React
  • Vue
  • and Svelte
  • MIT license
Provenance

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

Related resourcesMotion & Interaction