olragon

← finds

Button Sounds: properly recorded clicks for your buttons

buttons.joshwcomeau.com · picked up

The Button Sounds page: a red Press me button in a sound playground, the sound list on the left, the samples on the right, 3D shapes floating around
screenshot of the original page

Josh W. Comeau recorded 50+ clicks and toggles for interfaces, each with up to 16 separate samples, and every press picks one at random, so it never sounds like a machine on repeat. There's a sound for the press and one for the release; a toggle's release goes up in pitch. All free, packaged on npm, with React bindings.

I adore the playground: hit the red button, arrow through the sounds, like trying switches in a keyboard shop. Sound on the web is usually skipped because done badly it grates; this is done so carefully you want to try it. Just use it sparingly.

visit the original →