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.
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.
- startnumber
- Start position of the active fill as a fraction of the total range (0–1).
- stopnumber
- Stop position of the active fill as a fraction of the total range (0–1).
- disabledboolean
- Applies the disabled visual state to the track.
- errorboolean
- Forces danger intent on both color channels — driven by the parent slider error flag.
- minnumber
- Boundaries for tick filtering (first tick suppression).
- maxnumber
- Boundaries for tick filtering (last tick suppression).
- isVerticalboolean
- Orientation hint passed by the parent — controls the logical CSS axis.
- indexFromEndboolean
- Inverts the start direction when reverse is on or in vertical mode.
- showTicksTAlways
- Tick visibility. Same semantics as the parent slider showTicks.
- tickSizenumber | string
- Tick dot size — px or token unit.
- ticksArray<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