Slider
A value on a scale, in a frame with a readout cell. The readout is sized for the longest value it can show, so the frame never shifts while you drag.
Loading the live example…
Installation
Run it where your components.json is. The first time, map the @keyline-ui registry: one command, in Installation.
Usage
Examples
Range
Pass two numbers for two thumbs. The fill runs between them, and each thumb is named “from” or “to”. format prints the readout as currency.
Loading the live example…
Props
Arrow keys step, Page Up and Down take a larger step, Home and End jump to the ends. In a right-to-left page the scale mirrors. Built on Base UI Slider.