🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-sounds

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sounds

A library of ready-to-play sound effects for React applications.

1.0.25
latest
Source
npm
Version published
Weekly downloads
406
-7.94%
Maintainers
1
Weekly downloads
 
Created
Source

react-sounds 🔊

npm version License: MIT PRs Welcome

Hundreds of ready-to-play sound effects for your React applications
Add delight to your UI with just a few lines of code

DemoDocumentationSound Explorer

✨ Why react-sounds?

  • 🪶 Lightweight: Only loads JS wrappers, audio files stay on CDN until needed
  • 🔄 Lazy Loading: Sounds are fetched only when they're used
  • 📦 Offline Support: Download sounds for self-hosting with the included CLI
  • 🎯 Simple API: Intuitive hooks and components
  • 🔊 Extensive Library: Hundreds of categorized sounds (UI, notification, game)

🚀 Quick Start

npm install react-sounds howler
# or
yarn add react-sounds howler
import { useSound } from 'react-sounds';

function Button() {
  const { play } = useSound('ui/button_1');
  
  return (
    <button onClick={() => play()}>
      Click Me
    </button>
  );
}

📚 Documentation

For complete documentation including advanced usage, visit reactsounds.com/docs

🎮 Live Demo

Try the interactive demo at reactsounds.com

🔍 Explore All Sounds

Browse and play all available sounds at reactsounds.com/sounds

💻 Browser Support

Works in all modern browsers that support the Web Audio API (Chrome, Firefox, Safari, Edge)

📄 License

MIT © Aedilic Inc.

Made with ♥ by Aedilic Inc

Keywords

react

FAQs

Package last updated on 05 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts