SLIDER_FIELD_VARIANT

enum
Form & Input

TypeScript enum for SliderField visual variant — full form field, bare timer scrubber, or waveform audio scrubber.

TypeScript

Definition

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

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

SLIDER_FIELD_VARIANT.FIELD
Full form-field chrome — label, messages, prepend/append icons. Default variant.
SLIDER_FIELD_VARIANT.TIMER
Bare scrubber — no input chrome; hairline rail (2 px at rest, 4 px on hover/focus), thumb hidden until hover. Used for video timelines.
SLIDER_FIELD_VARIANT.AUDIO
Like TIMER but adds a waveform background rendered from the peaks prop. Used for audio scrubbers.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript