Tabs | CombricSkip to content

Tabs

Combric

Single-selection tabs with automatic horizontal activation.

@combric/react · v1.5.1 · Current

Import and usage

import { Tabs, TabsList, TabsTrigger, TabsContent } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Project sections

Overview panel

Public API

Public exports
Name
Tabs
TabsList
TabsTrigger
TabsContent
Documented contracts
Property / capabilityPublished contract
Contractvalue/defaultValue
ContractonValueChange
Contractdisabled triggers
TabsTrigger leadingIcon/trailingIconReactNode decorative slots

Accessibility

Stable IDs connect tab, tablist, and tabpanel roles and state.

Keyboard

Left/Right wrap through enabled tabs; Home/End select boundaries.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Motion

Active tab color and background changes use the micro-duration token by default. The existing trigger className is the CSS customization hook; reduced motion removes the transition. See the Motion Foundation.

Source

View source on GitHub