Skip to content

components/slider

@fungi.computer/caps


@fungi.computer/caps / components/slider

SliderTone = "neutral" | "primary" | "secondary" | "accent" | "success" | "info" | "warning" | "error"

Supported SliderTone values.


SliderSize = "xs" | "sm" | "default" | "lg"

Supported SliderSize values.


SliderProps = object & Omit<InputHTMLAttributes<HTMLInputElement>>, "size" | "type">>

Props accepted by Slider.

optional size?: SliderSize

optional tone?: SliderTone

const Slider: ForwardRefExoticComponent<object & Omit<InputHTMLAttributes<HTMLInputElement>>, "type" | "size"> > & RefAttributes<HTMLInputElement>>>>

A native range input with product-neutral tone and size variants.