The <luna-range> component provides a slider input with live tooltip, progress glow, and extensive customization.
Paths
/lunadom/components/range/range.js /lunadom/components/tooltip/tooltip.js
Basic Usage
Fractional Steps
Tooltip Placement
No Tooltip
No Glow Effect
Custom Colors
Custom Range
Disabled State
Overrides
min - Minimum value (default: 0)max - Maximum value (default: 100)step - Increment step (default: 1)value - Current value (default: 0)disabled - Disables the inputlabel - Label displayed above the sliderhelp-text - Help text displayed below the slidertooltip-placement - Tooltip position (top, bottom)no-tooltip - Hides the value tooltipno-glow - Disables progress fill glow--luna-range-track - Track background colour (default: #1a1a1a)--luna-range-track-border - Track border colour (default: #333)--luna-range-track-height - Track height (default: 4px)--luna-range-track-active - Filled progress colour (default: var(--luna-accent, #2563eb))--luna-range-glow-color - Glow / shadow colour for the progress fill. (default: a 40%-alpha version of --luna-range-track-active)--luna-range-thumb-bg - Thumb background colour (default: #fff)--luna-range-thumb-size - Thumb diameter (default: 18px)--luna-range-thumb-ring - Colour of the thumb focus ring (default: rgba(0,0,0,.3))--luna-range-label-color - Label text colour (default: #ccc)--luna-range-label-size - Label font size (default: 0.875rem)--luna-range-helptext-color - Help text colour (default: #666)--luna-range-helptext-size - Help text font size (default: 0.75rem)luna-input - Emitted continuously while draggingluna-change - Emitted when the value is committed