๐ 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
| 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