Slider

Render Slider range input

Read more Read less

Example

<.slider class="w-[60%]" id="slider-single-default-slider" max={50} min={10} step={5} value={20}/>
Attribute Type Documentation Default Value
Required id * :string
class :string
name :string
value :integer 0
default-value :integer
field %FormField{} a form field struct retrieved from the form, for example: @form[:email]
min :integer 0
max :integer 100
step :integer 1
rest :global