VARIANT_INPUT

enum
Form & Input

TypeScript enum for the visual variant of text input controls — underlined, filled, solo, outlined, plain.

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.

VARIANT_INPUT.UNDERLINED
Input has a bottom border only — classic Material Design style.
VARIANT_INPUT.FILLED
Input has a filled background with a bottom border — Material filled style.
VARIANT_INPUT.SOLO
Elevated card-like input with no visible border at rest.
VARIANT_INPUT.OUTLINED
Input with a full surrounding border — the most common accessible style.
VARIANT_INPUT.PLAIN
Borderless, backgroundless input — minimal chrome for inline editing.

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