Skip to content
프로젝트

lochie/web-haptics has 2,856 GitHub stars and 96 forks. GitHot measured +1 stars in 24 hours, +4 in 7 days, and +19 in 15 days. Last checked 2026-11-25 09:35 UTC. Last push 2026-09-02.

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+4
in 15 days
+19
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

모바일 웹을 위한 햅틱 피드백

웹 및 앱

README.md

Original

WebHaptics

Haptic feedback for the mobile web. Supports React, Vue, and Svelte.

Installation

npm i web-haptics

Usage

import { useWebHaptics } from "web-haptics/react";

function App() {
  const { trigger } = useWebHaptics();

  return <button onClick={() => trigger("success")}>Tap me</button>;
}

See the package README for Vue, Svelte, and vanilla examples.

Contributing

Install dependencies

pnpm install:all

Dev/Watch Library and Example

pnpm dev

Build Library

pnpm build

Found this useful?

Follow me on Twitter.

Other projects

You might also like:

  • Torph - Dependency-free animated text component.
  • easing.dev - Easily create custom easing graphs.

Acknowledgements

  • Special thanks to Alex for assistance with the site design.

관련 프로젝트 살펴보기

불러오는 중…