Spectrogram
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardSpectrogram(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-spectrogramAbout this component
A podcast episode card whose waveform is a spectrogram: press play and the voice scrolls across it as columns of light, low hum at the bottom, the formants of each syllable glowing in bands above, gaps between words going dark.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- Click
- Continuous
- Card
Techniques3
- requestAnimationFrame
- State machine
- Interval
Accessibility
Keyboard and screen readers
Play is a toggle button labelled Play episode or Pause episode; the time is a live readout. The spectrogram is decorative (aria-hidden).
Reduced motion
The spectrogram does not scroll; the timer still runs.
Use it in anything you build, commercial and client work included. Licence
More cards
See allDark mode for charts
Every chart follows the theme, axis labels included.
Nov 12
Offline drafts
Write on the train; it syncs when you are back.
Oct 30
Search in a blink
Results now arrive as you type, even on big teams.
Oct 14
Shared folders
Invite anyone to a folder without a seat.
Sep 29
A new editor
Rebuilt from the ground up, and half the size.
Sep 3
With Mira Sol · Sat 23 Nov
- ARRIVED SAFELY STOP
- SEA COLD BUT LOVELY STOP
- LOVE TO ALL STOP
Together with their families
Ines&Theo
request the pleasure of your company
Saturday 6 June 2026
Harlow Barn, Wiltshire