mcpField
S
sfx-elements

sfx-elements

github.com/crafter-stationCreative & media52685 installsUpdated 11w ago
Repository

About sfx-elements

sfx-elements is a collection of 17 CC0 sound effects for React projects and workflows that use raw audio files. It provides TypeScript modules with a sound hook as well as downloadable MP3s for video, agents, and command-line tools.

Key features

  1. 0117 CC0 sound effects
  2. 02TypeScript modules for React
  3. 03Raw MP3 downloads
  4. 04Transition, UI, and cinematic bundles

Use cases

  1. 01Add feedback sounds to a React interface
  2. 02Place effects at video scene cuts
  3. 03Use audio in scripts or agent workflows

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/crafter-station/elements --skill sfx-elements

After installing, type/sfx-elementsin Claude Code to confirm it loaded.

Details

From the project README

SFX Elements

17 CC0 sound effects. Dual format: TypeScript modules for React + raw MP3 for video/agents.

Install (React / Web Audio)

npx shadcn@latest add @elements/sfx-{name}

Installs the sound as a TypeScript module with inline base64 audio, plus useSound hook and sound engine.

Install as raw MP3 (Video / Agents / CLI)

No React needed. Download the MP3 directly:

curl -o {name}.mp3 https://tryelements.dev/sfx/{name}.mp3

Works with ffmpeg, video editors, Python scripts, or any tool that plays audio files. All sounds served with audio/mpeg content-type.

Sounds

Transitions (6)
SoundDurationInstall
Whoosh0.57s@elements/sfx-whoosh
Whoosh Alt 11.10s@elements/sfx-whoosh-alt1
Whoosh Alt 21.56s@elements/sfx-whoosh-alt2
Magic Reveal2.04s@elements/sfx-magic-reveal
Reverse Whoosh5.85s@elements/sfx-reverse-whoosh
Swoosh4.08s@elements/sfx-swoosh
UI (6)
SoundDurationInstall
Click1.03s@elements/sfx-click
Pop1.02s@elements/sfx-pop
Keyboard8.05s@elements/sfx-keyboard
Notification2.12s@elements/sfx-notification
Error0.53s@elements/sfx-error
Success2.54s@elements/sfx-success
Cinematic (5)
SoundDurationInstall
Riser4.03s@elements/sfx-riser
Shutter7.87s@elements/sfx-shutter
Glitch2.64s@elements/sfx-glitch
Boom4.30s@elements/sfx-boom
Drone6.82s@elements/sfx-drone

Bundles

NeedCommand
All 17 sounds@elements/sfx-all
Transitions@elements/sfx-transitions
UI sounds@elements/sfx-ui
Cinematic@elements/sfx-cinematic

Usage

import { useSound } from "@/hooks/use-sound";
import { whooshSound } from "@/components/sfx/whoosh";

export function TransitionButton() {
  const { play } = useSound(whooshSound, { volume: 0.5 });
  return <button onClick={() => play()}>Transition</button>;
}

Timing Guidelines

EventSoundWhen
Text appearspop, clickexact frame
Scene transitionwhoosh, swoosh100ms before cut
Fast cutswoosh50ms before cut
Dramatic revealmagic-reveal, boom50ms before
Error stateerror, glitchat reveal
Success/deploysuccessat reveal
Build tensiondrone, riserstart of section

Discover All Sounds

curl -s https://tryelements.dev/r/sfx-index.json | jq '.sounds[].name'

Discovery

Browse https://tryelements.dev/docs/sfx

License

All sounds are CC0 (public domain). No attribution required. Free for commercial use.

Comments

Markdown supported