Tabs

Set of content sections to be displayed one at a time.

Tabs.Root

asChild

boolean

Also supports MarginProps: `m`, `mb`, `ml`, `mr`, `mt`, `mx`, `my`

Tabs.List

color

rubygraygoldbronzebrownyellowamberorangetomatoredcrimsonpinkplumpurplevioletirisindigobluecyantealjadegreengrasslimemintsky

highContrast

boolean

justify

centerendstart

size

12

wrap

wrapnowrapwrap-reverse

Also supports MarginProps: `m`, `mb`, `ml`, `mr`, `mt`, `mx`, `my`

Tabs.Content

asChild

boolean

Also supports MarginProps: `m`, `mb`, `ml`, `mr`, `mt`, `mx`, `my`

Use the size prop to control the size of the tab list.

Use the color prop to assign a specific color to the tab list.

Use the highContrast prop to increase color contrast with the background.

Tabs should not be used for page navigation. Use Tab Nav instead, which is designed for this purpose and has equivalent styles.

Dashboard

2 variants found

Tabs in Context Schema Documentationdashboard
Tabs in View Attributes Payloads Dialogdashboard

Context

Tabs.Root
PropTypeDefaultRequired
asChild
booleanno

Also supports MarginProps: m, mb, ml, mr, mt, mx, my

Tabs.List
PropTypeDefaultRequired
color
"ruby" | "gray" | "gold" | "bronze" | "brown" | "yellow" | "amber" | "orange" | "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "iris" | "indigo" | "blue" | ... 8 more ...no
highContrast
booleanno
justify
Responsive<"center" | "end" | "start">no
size
Responsive<"1" | "2">no
wrap
Responsive<"wrap" | "nowrap" | "wrap-reverse">no

Also supports MarginProps: m, mb, ml, mr, mt, mx, my

Tabs.Content
PropTypeDefaultRequired
asChild
booleanno

Also supports MarginProps: m, mb, ml, mr, mt, mx, my

Usage

Used 49 times across 1 package

Dashboard
49

Where it's used

8 files

/branding/edit

packages/dashboard/src/app/(private)/(chromeless)/branding/edit/edit-branding.tsx14

/code-editor

packages/dashboard/src/app/(private)/code-editor/demo.tsx7
packages/dashboard/src/components/configuration/custom-attributes/view-attributes-payloads-dialog.tsx6
packages/dashboard/src/components/test-sso/service-provider-initiated-content.tsx6
packages/dashboard/src/components/authentication/jwt-template/context-schema-documentation.tsx4
packages/dashboard/src/legacy-pages/[environmentId]/actions/test/index.tsx4

/:environmentId/roles-and-permissions/resource-types/edit/content-panel

packages/dashboard/src/app/(private)/(chromeless)/[environmentId]/roles-and-permissions/resource-types/edit/content-panel/create-resource-type-form.tsx4
packages/dashboard/src/app/(private)/(chromeless)/[environmentId]/roles-and-permissions/resource-types/edit/content-panel/resource-type-details-form.tsx4