Slider

Control for selecting a numeric value within a range.

TailwindCSS
Alpine.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

With Value

With Label

With Steps

With Label and Value

Disabled