Tabs

Switch between content panels with default, line and vertical tabs.
Overview
View your key metrics and recent project activity. Track progress across all your active projects.
You have 12 active projects and 3 pending tasks.
Overview
Account
Home
Overview
2

Installation

Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use Tabs, CountedTabs, TabsAdvanced from "@rightui/ui"

Usage

Import Tabs, TabsAdvanced from @rightui/ui. Store its value in state and update it through the provided action callback.

API Reference

Properties from the component source. State lives in your component; actions receive the updated value.
Tabs.id
string
Tabs.labels
string[]
Tabs.selected
number
Tabs.reduced
bool
Tabs.choose
action
CountedTabs.id
string
CountedTabs.labels
string[]
CountedTabs.counts
string[]
CountedTabs.selected
number
CountedTabs.reduced
bool
CountedTabs.choose
action
TabsAdvanced.id
string
TabsAdvanced.label
string
TabsAdvanced.labels
string[]
TabsAdvanced.counts
string[]
TabsAdvanced.selected
number
TabsAdvanced.variant
string
TabsAdvanced.vertical
bool
TabsAdvanced.compact
bool
TabsAdvanced.disabledIndices
number[]
TabsAdvanced.direction
string
TabsAdvanced.reduced
bool
TabsAdvanced.choose
action