Hover

Pointer enters an interactive element (use sparingly)

npx @litlab/audx add hover --theme retro

Sound editor [ beta ]

Preview changes, then install this exact definition.

Tone padX pan · Y pitch
Use arrow keys to adjust X and Y values.X: 0.0, Y: 0.0
center · 0 st

Drag the cursor to place the sound in stereo space and retune it.

Shape
Length
Knob arc
1.00x
Volume
Knob arc
100%

Double-click knobs to return to their default values

Fine tune0 st
Pitch-12 st · +12 st

Waveform

Swap the oscillator shape without changing the install flow.

Original
npx @litlab/audx add hover --theme retro --tune 1.c.k.k.k.o -y

Use it in your code

The CLI writes the sound to src/sounds/ as TypeScript you own. Call it from any event handler, or wrap it in useSound in React to respect mute, volume and reduced motion. Guides: React, Next.js, Vue, Svelte and vanilla JS.

import { useSound } from "@litlab/audx/react";
import { hover } from "@/sounds";

hover(); // plain call, works in any framework

function Button() {
  const play = useSound(hover);
  return <button onClick={play}>Go</button>;
}

Hover in other themes