ISliderFieldTrackProps

interface
Component Props

Props contract for the track sub-component of <OrigamSliderField> — rail fill range, tick configuration, orientation hints, and the visual surface (color, size, rounded).

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

start
number
Start position of the active fill as a fraction of the total range (0–1).
stop
number
Stop position of the active fill as a fraction of the total range (0–1).
disabled
boolean
Applies the disabled visual state to the track.
error
boolean
Forces danger intent on both color channels — driven by the parent slider error flag.
min
number
Boundaries for tick filtering (first tick suppression).
max
number
Boundaries for tick filtering (last tick suppression).
isVertical
boolean
Orientation hint passed by the parent — controls the logical CSS axis.
indexFromEnd
boolean
Inverts the start direction when reverse is on or in vertical mode.
showTicks
TAlways
Tick visibility. Same semantics as the parent slider showTicks.
tickSize
number | string
Tick dot size — px or token unit.
ticks
Array<TTick>
Pre-computed tick descriptors — the parent slider owns the math and passes them down.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Passing trackProps to OrigamSliderField

vue