Component packs › Fader › Radio Tuner

Radio Tuner

The needle trails the dial cord and settles; near a station the signal meter swings up, the stereo lamp lights, and letting go pulls it onto the station.

Radio Tuner is a slider from Fader, a component pack with 8 sliders: Eight sliders, each a real mechanism: a console fader, a radio dial, beads on a wire, a zipline. Price: $2 for the whole pack.

Built with: dial-cord lag, magnetic fine tuning, turnable knob.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Radio Tuner props

PropTypeDefaultDescription
valuenumber94.7Frequency in MHz, 87.5 to 108. Default 94.7.
stationsRadioStation[]
labelstring
disabledboolean
darkboolean
onChange(mhz: number, station: RadioStation | null) => voidCalled with the frequency and the station it is tuned to (or null).
autoplaynumber | falseShowcase mode: seeks to the next station every N ms while visible.

Methods on the ref

Use it in React

import RadioTuner from './RadioTuner';

<RadioTuner />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Fader

Good for: Sliders.