glow-knobs Svelte Themes

Glow Knobs

๐ŸŽ› Instrument panel controls for Svelte 5 โ€” knobs with arc glow, LED buttons, gradient bars, drag-to-adjust. For radio, audio, IoT, and lab UIs.

๐ŸŽ› glow-knobs

Instrument panel controls for Svelte 5 โ€” knobs with arc glow, LED indicator buttons, gradient bars, drag-to-adjust values. Zero dependencies.

Status: In Development โ€” Components are being built inside icom-lan (a web-based radio transceiver control app) and will be extracted here when stable.

Components (planned)

ValueControl โ€” One core, many renderers

Renderer Description Use case
HBar Horizontal bar with fill + gradient AF gain, RF gain, levels
Bipolar Centered ยฑ bar PBT, IF shift, RIT offset
Knob SVG rotary with arc glow โœจ Any rotary parameter
VBar Vertical bar Equalizer, level meters

All renderers share the same interaction model:

  • ๐Ÿ–ฑ Drag to adjust (horizontal or vertical)
  • ๐Ÿ”„ Scroll wheel for fine control
  • โŒจ๏ธ Arrow keys when focused
  • โ‡ง Shift = fine adjust (รท10)
  • ๐Ÿ”˜ Double-click = reset to default
  • ๐Ÿ“ฑ Touch with pointer capture

Knob Features

  • Arc glow โ€” filled sector glows proportionally to value
  • Gradient fill โ€” multi-stop color gradients along the arc
  • Configurable glow โ€” blur radius, spread, opacity, intensity scaling
  • Tick marks with optional labels
  • Sweep angle โ€” 270ยฐ default, configurable

ControlButton โ€” LED indicator styles

Style Visual
ring Border glow (default)
dot LED indicator dot (like hardware)
edge-bottom Bottom edge glow
edge-left Left edge glow
edge-sides Left + right edge glow
fill Background fill glow

6 color tokens: cyan, green, amber, red, orange, white โ€” plus custom via CSS variable.

Also included

  • SegmentedButton โ€” radio-group selector
  • TuningWheel โ€” horizontal jog dial with momentum

Design goals

  • ๐ŸŽจ Instrument-panel aesthetics โ€” dark theme, glow effects, professional look
  • ๐Ÿงฉ Svelte 5 runes ($props, $derived, $effect)
  • ๐Ÿ“ฆ Zero dependencies โ€” pure Svelte + SVG + CSS
  • ๐ŸŽฏ Channel theming โ€” CSS variables for multi-channel color coding
  • โ™ฟ Accessible โ€” ARIA slider attributes, keyboard navigation
  • ๐Ÿ“ฑ Mobile-first โ€” touch, haptics, pointer capture

Target audience

  • ๐Ÿ“ป Ham radio / SDR control panels
  • ๐ŸŽต Audio / DAW โ€” mixer controls, synth knobs
  • ๐ŸŒก IoT dashboards โ€” sensor displays, actuator controls
  • ๐Ÿ”ฌ Lab equipment โ€” instrument panels
  • โœˆ๏ธ Simulators โ€” cockpit instruments

License

MIT ยฉ 2026 Sergey Morozik

Top categories

Loading Svelte Themes