ITabsProps
interface
Navigation
Props for <OrigamTabs> — a stateful tablist container. Supports variant (default/pills/underline), direction, density, rounded, color, group registration, fixed-width distribution and centered layout.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- tagstring
- HTML tag rendered as the tablist root element.
- variantTTabVariant
- Visual treatment of the tablist. One of 'default', 'pills', 'underline'.
- fixedboolean
- Distributes all tabs with equal width (justify-evenly) within the tablist.
- centeredboolean
- Centers the tablist within its container.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Pill variant centered tabs