TVariant
type
Shape & Appearance
Visual surface variant for elevation-driven components: text, flat, elevated, tonal, outlined, plain, ghost.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- text
- Text-only — no background, no border.
- flat
- Flat filled background, no elevation shadow.
- ghost
- Glassmorphism — translucent tint with backdrop-filter blur.
- elevated
- Filled background with box-shadow elevation.
- tonal
- Subtle tonal fill derived from the current color intent.
- outlined
- Border outline only — no fill.
- plain
- Plain — minimal styling, blends into any surface.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Btn variant showcase