Qeetrix

Tabs

Examples

Default

The contained style, for tabs inside a card or a panel.

Rohan Mehta · Admin · joined 12 Mar 2025.

Line

variant="line" on TabsList puts the tabs on a track with an underline for the selected one, for page- and section-level navigation.

Tenant name, slug and data region.

Usage

Import

import { Tabs } from "@qeetrix/ui";

It can also be imported on its own from @qeetrix/ui/components/tabs.

Variant props

PropValues
variantdefault · line

Controlled and uncontrolled

Pass the value prop to control it, or the default prop to let the component own it.

ValueDefaultChange
valuedefaultValueonValueChange

States

hover · focus-visible · active · disabled

Support

FeatureStatus
Right-to-leftSupported
Dark modeSupported
DensitySupported
Server renderingClient component
Reduced motionSupported

Accessibility

Follows the WAI-ARIA tabs pattern. Audited.

CheckResult
SemanticsPass
Accessible namePass
KeyboardPass
FocusPass
Screen readerPass
Right-to-leftPass
Reduced motionPass
Forced coloursPass
ContrastPass

Keyboard

Tab Enter Space ArrowLeft ArrowRight Home End

Focus

One Tab stop for the group; arrow keys move between items (roving tab stop).

Tests

Covered by unit, accessibility (axe), interaction and visual tests.