lochie/web-haptics
Haptic feedback for the mobile web observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 71
- Release rhythm 35
- Longevity 13
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 189
- days_rel: n/a
- days_push: 177
- n_releases_24m: 0
Adoption not part of the score
2754 stars · 90 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library providing haptic (vibration) feedback for the mobile web, with integrations for React, Vue, Svelte, and vanilla JS. It wraps the browser Vibration API behind a simple trigger API with named patterns like 'success'.
Use cases
- add haptic feedback to mobile web buttons
- trigger vibration patterns on user interactions
- use haptics in React components
- use haptics in Vue or Svelte apps
- give tactile feedback for form success or errors on mobile web
When to choose
- you're building a mobile web app and want vibration feedback
- you use React, Vue, or Svelte and want a ready-made hook/component
- you want a small MIT-licensed wrapper around the Vibration API
When to avoid
- you need native app haptics (iOS/Android SDKs)
- your target browsers don't support the Vibration API (e.g., iOS Safari)
- you need desktop-only feedback
Facets
library · maturity active
ui-components animation web-development frontend mobile-development cross-platform haptics vibration-api react vue svelte mobile-web typescript web-server mobile
3 sources
- readme: https://github.com/lochie/web-haptics · fetched 2026-08-28 · 072e3dbe1761
- homepage: https://haptics.lochie.me · fetched 2026-08-29 · 612661547ca6
- registry_npm: https://registry.npmjs.org/web-haptics · fetched 2026-08-29 · d373c3679276
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lochie/web-haptics | main | 47 |
For agents
markdown · JSON · MCP: product_card(name="lochie/web-haptics")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem