TAB_VARIANT

enum
Navigation

TypeScript enum for the visual variant of the Tabs component — default, pills, underline.

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.

TAB_VARIANT.DEFAULT
Standard tab appearance — active tab uses the primary surface treatment.
TAB_VARIANT.PILLS
Pill-shaped tabs — each tab is a rounded chip, active tab fills with the primary colour.
TAB_VARIANT.UNDERLINE
Minimalist style — active tab is indicated by an underline border only.

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