NexoreUIv1.8.6
InstallationComponents61IconsTemplatesNEWNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
61 comps
Create Project
Studio
Installation
Components Overview
60+
Icons
300+
Categories6 groups
Button
Input
Checkbox
AI
Select
AI
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Aurora Border Card
AI
Aurora Search Pill
AI
AI Prompt Input
AI
Command
Interactive Code Block
AI
Pro AI
AI
Theme: cyan
Studio
DocsTabs

Tabs

Tabbed navigation between content panels.

NextTable
On This Page
Quick Actions
Project Studio
New
Nexore Make (AI)Source on GitHub

Tabs

A set of layered sections of content (tab panels) that display one panel at a time.

When to use

defaultStandard settings panels, navigation within a single dashboard workspace, signin/signup toggles
pillSubcategory filters (e.g. Inbox / Unread / Starred messages)
underlineClean page-level navigation, document tabs, profile sections

Interactive Playground

Live CanvasInteractive
Make changes to your account here.
Controls(5)
variant
select

Visual style of the tabs.

tab1
text

Label for the first tab.

tab2
text

Label for the second tab.

content1
text

Content for the first tab.

content2
text

Content for the second tab.

Generated JSX
Source
import { Tabs, TabsList, TabsTrigger, TabsContent } from "nexoreui"

<Tabs defaultValue="tab1" className="w-full">
  <TabsList>
    <TabsTrigger value="tab1">Account</TabsTrigger>
    <TabsTrigger value="tab2">Password</TabsTrigger>
  </TabsList>
  <TabsContent value="tab1">Make changes to your account here.</TabsContent>
  <TabsContent value="tab2">Change your password here.</TabsContent>
</Tabs>

Default Tabs

Make changes to your account here.
component.tsx
1

Pill Style Tabs

All messages
component.tsx
1

Underline Tabs

Music library
component.tsx
1

Vertical Tabs

General settings
component.tsx
1

Tabs with Icons

Home dashboard
component.tsx
1
Page 1 of 2

API Reference (Props)

PropTypeDefaultDescription
defaultValuestring—The value of the tab that should be active when initially rendered.
valuestring—Controlled value of the active tab.
onValueChange(value: string) => void—Callback triggered when the active tab changes.
variant"default" | "pill" | "underline""default"Visual style variant (applied to TabsList and TabsTrigger).

Accessibility (a11y)

  • Keyboard navigation: Supports standard arrow navigation. Pressing Left Arrow / Right Arrow (or Up / Down in vertical tabs) cycles active focus tabs.
  • ARIA attributes: Exports role="tablist", role="tab", and role="tabpanel" attributes correctly linking labels.