Skip to content
ommghPublic

About

Open-source UI sound effects for React & the web. 43 interaction sounds in 4 themes, synthesized with the Web Audio API and installed as code you own. No audio files.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Open-source library of customizable UI sound effects for modern web apps. Browse, preview, and install audio assets — clicks, scrolls, notifications, and more — with a single command.


skills.sh npm license CI Website Docs


Quick Start

npx @litlab/audx init                 # pick a theme and a starter set of sounds
npx @litlab/audx add click success    # add more any time
npx @litlab/audx theme playful        # re-skin every installed sound
import { click, success } from "@/sounds";

click();

Sounds are generated into src/sounds/ as plain TypeScript you own. See the documentation for guides and the full CLI and API reference, and hear every sound in real components at audx.site/showcase.

Development

bun install
bun run dev           # Start dev server (Turbopack)
bun run build         # Build the package, then the site
bun run lint          # Biome check (lint + format)

Package & CLI

cd package/core
bun run build         # bunchee
bun run test          # vitest

Designing sounds

The built-in themes live in scripts/sounds/themes/*.ts, written with a small DSL (scripts/sounds/dsl.ts). Every theme must implement the full catalog in package/core/src/catalog.ts.

bun run sounds:build  # validates themes, normalizes loudness, writes .themes/*.json

The build renders each sound offline and rescales it so sounds with the same role sit at the same loudness across themes, so you only need to think about balance between layers, not absolute volume.

Requirements

  • Node.js 20+
  • Bun (for website development)

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change.

License

MIT

About

Open-source UI sound effects for React & the web. 43 interaction sounds in 4 themes, synthesized with the Web Audio API and installed as code you own. No audio files.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages