View as Markdown

API reference

@salmonui/inputs/slider

11 exported symbols: 1 component, 6 interfaces and 4 types. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/inputs/slider';

Components

  • SliderSlider: single or two-thumb range on native range inputs, ticks, value labels, limits, vertical orientation and RTL mirroring. ref is the root element.

Interfaces

Types

  • SliderLocaleTextUser-visible strings: start / end name the thumbs of a range slider.
  • SliderScalarOne slider value: a number, or an entry of values.
  • SliderValueA single value or a [start, end] range.
  • SliderValueOfThe value type callbacks receive: literals widened (50 -> number).