Imports
Component import
ts
import {
TngRangeSliderComponent,
type TngRangeSliderValue,
} from '@tailng-ui/components';Basic usage
Controlled price range
Choose either a plain CSS shell or a Tailwind utility shell around the same controlled range-slider contract.
Controlled price range (Plain CSS)
Controlled price range (Tailwind CSS)
Minimum: $25Maximum: $85
Value model
The component exposes one typed { min, max } value. Bounds describe the control's permitted domain; they are separate from the selected endpoints.
Behavior baseline
- Both thumbs stay ordered and aligned to the configured step.
minGapmaintains the required separation between endpoints.- Each thumb receives its own accessible label and value text.