templUI Pro coming soon  

50% OFF Join Waitlist

Slider

Control for selecting a numeric value within a range.

TailwindCSS
Vanilla JS

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Slider
@components.SliderScript()

2. Use the component:

@components.Slider(components.SliderProps{...})

Examples

Value

Steps

Disabled

External Value

External value (linked to the slider):

%

© 2025 templui. Stupid code not excluded.