TSliderFieldVariant

type
Form & Input

Visual and behavioural variant of OrigamSliderField — full form-field chrome, bare video-scrubber, or waveform-backed audio scrubber.

TypeScript

Definition

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

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

audio
Same as timer plus a waveform background painted from the peaks prop. Used by OrigamAudio as its waveform scrubber.
field
Default variant — full OrigamInput chrome with label, helper text, prepend/append slots and validation messages. Used in settings panels and form-grade sliders.
timer
Bare scrubber without input chrome — 2 px hairline rail at rest, 4 px on hover/focus, thumb hidden until hover. Used by OrigamMediaController as a video timeline.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Form-grade slider with label and validation

html

Bare scrubber for a media controller

html

Waveform scrubber with peaks data

html