chrome:shell.skip

generated:catalog.entry.slider.title

generated:catalog.entry.slider.description

@xngui/components/slider
@xngui/components/slider

chrome:demo.section

chrome:demo.preview

40
demo-preview:hints.category.navigation:
Tab
demo-preview:hints.category.focus:
Focus
demo-preview:hints.category.pointer:
← →Drag
import { Component } from '@angular/core';
import { XForm } from '@xngui/components/form';
import { XSlider } from '@xngui/components/slider';
 
@Component({
selector: 'app-example',
imports: [XForm, XSlider],
templateUrl: './slider.component.html',
})
export class ExampleComponent {}

chrome:demo.events.title

chrome:demo.events.empty

chrome:demo.api.title

x-slider

chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
mode
XSliderMode
'single'
Single-thumb or dual-thumb range selection.
size
XSize
—
Visual size tier — falls back to XConfigService when unset.
density
XDensity
—
Spacing offsets — orthogonal to `size`; falls back to XConfigService when unset.
min
number
—
Minimum bound — defaults to `0` when unset.
max
number
—
Maximum bound — defaults to `100` when unset.
step
number
1
Step increment for pointer and keyboard adjustments.
disabled
boolean
false
Prevents interaction and sets `aria-disabled` on the thumbs.
readonly
boolean
false
Value-only input — user cannot change when true.
invalid
boolean
false
Marks the control invalid for styling and ARIA.
showValue
boolean
true
Show the current value beside the track.
name
string
''
Native form control `name` attribute.
controlId
string
—
Native `id` on the control; falls back to `name`, then a generated id.
ariaLabel
string
—
Accessible name for single mode or the shared fallback for range thumbs.
ariaLabelStart
string
—
Accessible name for the range start thumb.
ariaLabelEnd
string
—
Accessible name for the range end thumb.