joshwcomeau/use-sound
A React Hook for playing sound effects observed · 2026-08-28
Health v2 · maintenance only
34/100
- Activity 26
- Release rhythm 8
- Longevity 100
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: 2358
- days_rel: 561
- days_push: 449
- n_releases_24m: 1
Adoption not part of the score
3148 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
use-sound is a small React hook for playing sound effects in web applications, built on top of Howler.js. It provides a declarative API for loading and triggering audio on interactions like clicks and hovers.
Use cases
- play a sound effect when a button is clicked
- add audio feedback on hover
- play sound effects in a React app
- trigger UI sounds declaratively with a hook
- load audio files asynchronously in React
When to choose
- you need simple, lightweight sound effects in a React DOM app
- you want a declarative hooks API for audio playback
- bundle size matters and you only need basic sound triggering
When to avoid
- you need advanced audio control like mixing, spatial audio, or complex playlists
- you're building a React Native app (use react-native-use-sound instead)
- you need active maintenance and support for edge cases
Facets
library · maturity maintenance
audio-processing ui-components web-development frontend browser react-hook sound-effects howlerjs audio-playback audio nodejs javascript
2 sources
- readme: https://github.com/joshwcomeau/use-sound · fetched 2026-08-28 · 138aabc78bd8
- registry_npm: https://registry.npmjs.org/use-sound · fetched 2026-08-29 · bd3c5cf0414e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joshwcomeau/use-sound | main | 34 |
For agents
markdown · JSON · MCP: product_card(name="joshwcomeau/use-sound")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem