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.
| 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
- 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.
- SegmentedButton β radio-group selector
- TuningWheel β horizontal jog dial with momentum
- π¨ 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
- π» Ham radio / SDR control panels
- π΅ Audio / DAW β mixer controls, synth knobs
- π‘ IoT dashboards β sensor displays, actuator controls
- π¬ Lab equipment β instrument panels
βοΈ Simulators β cockpit instruments
MIT Β© 2026 Sergey Morozik