Range Slider

Range Props

Name
Type
Default
Description

colors

object

Object with Tailwind CSS colors classes

colors.thumbBgIos

string

'range-thumb:bg-white'

colors.thumbBgMaterial

string

'range-thumb:bg-md-light-primary dark:range-thumb:bg-md-dark-primary'

colors.valueBgIos

string

'bg-primary'

colors.valueBgMaterial

string

'bg-md-light-primary dark:bg-md-dark-primary'

component

string

'div'

Component's HTML Element

disabled

boolean

false

Defines whether the range input is disabled

inputId

string

Range input id attribute

max

number

100

Range max value

min

number

0

Range min value

name

string

Range input name

readonly

boolean

false

Defines whether the range input is readonly

step

number

1

Range step

value

any

Range value

Range Events

Name
Type
Description

blur

function(e)

blur event handler

change

function(e)

change event handler

focus

function(e)

focus event handler

input

function(e)

input event handler

Examples

Last updated