# cuelume

> Named interface sounds generated with Web Audio, attached by data attributes or played from code.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/cuelume

free

Named interface sounds generated with Web Audio, attached by data attributes or played from code.

by Daniel (danielwh2)[GitHub](https://github.com/danielwh2/cuelume)[npm](https://npmjs.com/package/cuelume)

[visit](https://cuelume.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://cuelume.dev](https://cuelume.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [soundcn](https://tastebase.ehsanulsiam.workers.dev/browse/soundcn)

700+ short CC0 sound effects (clicks, chimes, game sounds) installed as code with the shadcn CLI.

no preview

### [@web-kits/audio](https://tastebase.ehsanulsiam.workers.dev/browse/web-kits-audio)

Declarative Web Audio for UI sounds: define a pop, beep or click from oscillators and envelopes, no files.

no preview

### [slot-text](https://tastebase.ehsanulsiam.workers.dev/browse/slot-text)

Zero-dependency text roll: labels change by rolling characters like a slot machine (Copy to Copied).

no preview

### [glimm](https://tastebase.ehsanulsiam.workers.dev/browse/glimm)

Shader-driven page transitions for Next.js: links trigger a WebGL wipe between routes.

## For your agent

##### Install

`npm i cuelume`

##### Use it for

- subtle sounds on taps, typing and menus wired with data attributes like data-cuelume-tap
- a success, warning or error sound when a deploy or save finishes

##### Skip it when

- a library of recorded game or notification sounds: use soundcn

##### What's inside22 free

- Tap
- Type
- Select
- Toggle
- Open
- Close
- Navigate
- Success
- Warning
- Error
- Loading
- Ready
- Attention
- Count
- Default theme
- Mech theme
- Bubble theme
- Press theme
- play()
- bind()
- setTheme()
- setVolume()

##### Facts

**Frameworks**
vanilla, react, vue, svelte

**Styling**
unstyled

**Weight**
tiny

**Accessibility**
n/a

**Maturity**
experimental

**License**
MIT

**Price**
Free

##### Alternatives

[soundcn](https://tastebase.ehsanulsiam.workers.dev/browse/soundcn)[@web-kits/audio](https://tastebase.ehsanulsiam.workers.dev/browse/web-kits-audio)

[Compare cuelume with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/cuelume-alternatives)

```
import { bind, play } from "cuelume"

bind() // wires every data-cuelume-* element

<button data-cuelume-tap>Save</button>

play(ok ? "success" : "error")
```

https://cuelume.dev

Loading website

[Visit](https://cuelume.dev/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
