Slider

3
Attribute Type Documentation Default Value
field %FormField{}

a form field struct

id :string
name :string
value :any
min :integer 0
max :integer 100
step :integer 1
label :string
show_value :boolean false
value_suffix :string
aria_value_text :string
description :string
errors :list []
class :any
variant :string

The colour when on, daisyUI's range-*. Emitted as data-variant.

size :string

daisyUI's range-xs … range-xl; no size is md. Emitted as data-size.

rest :global