Skip to content

Range


Range Demo

Usage

html
<input type="range" min="0" max="100" class="range-green">
jsx
<input type="range" min="0" max="100" className="range-green">

Rules

Base rules

ts
/^range-((rose|pink|fuchsia|purple|violet|indigo|blue|sky|cyan|teal|emerald|green|lime|yellow|amber|orange|red|gray|slate|zinc|neutral|stone|light|dark|lightblue|warmgray|truegray|coolgray|bluegray))$/

Size rules

ts
/^range-((xs|sm|md|lg))$/

Released under the MIT License.