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.
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 soundimport { 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.
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)cd package/core
bun run build # bunchee
bun run test # vitestThe 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/*.jsonThe 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.
- Node.js 20+
- Bun (for website development)
Contributions are welcome. Please open an issue first to discuss what you'd like to change.
