プロジェクト
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.
計測したスター増加
- 24時間
- +1
- 7日間
- +4
- 15日間
- +19
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
モバイルWeb向けの触覚フィードバック
Web・アプリREADME.md
オリジナル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.
関連プロジェクトを探す
読み込み中…