Components

Tabs

A component that allows you to divide and switch content by tabs within a single screen.

Tabs cover image

Anatomy

Tabs Anatomy image (Line Type)

Tabs Anatomy image (Chip Type)

Tabs is composed of a collection of Tab Items with Labels. Tab Items can optionally display Notification Badge as needed.

Properties

Variant

Tabs Variant Property - Line Type and Chip Type

Tabs component is composed of two types.

TypeStyle/Layout
LineFill layout (Tab Item displayed fully), Hug layout (displayed to fit label length)
ChipSolid style, Outline style

Size

Tabs Line Type Size - Medium, Small

Tabs Chip Type Size - Large, Medium

Line type has two Sizes: Medium and Small. Chip type has two Sizes: Large and Medium.

State

Tabs State - Enabled, Selected, Disabled

Tab Items have Enabled, Selected, and Disabled states.

Notification Property

Tabs Notification Property - Notification Badge display example

You can display Notification Badge on Tab Items to notify that there is new content in the tab.

Guidelines

Choosing Tabs Size and Style

Line Style - Medium and Small sizes

Chip Style - Large and Medium sizes

Tabs component is composed of two styles: Line and Chip.

Line type provides two sizes: Medium and Small, while Chip type provides two sizes: Large and Medium. You can choose and use different styles and sizes depending on the combination with other elements on the screen and prominence.

Large size is suitable for a Navigation role that switches entire screen content, while Medium size is used for switching sub-content in narrow areas or during scrolling.

When using Chip type, it is recommended to use Solid style when switching the entire screen content, and Outline style when switching partial content.

Example of combining Line style Tabs with Filter Chip

Example of duplicate use of Chip style Tabs and Filter Chip
Don’t
It is not recommended to use Chip style redundantly.

Also, when used in combination with other Chip elements on the screen, different styles should be applied to avoid confusion in operation.

Using Fill and Hug Layouts in Line Style

Fill layout example

Hug layout example

In Line type, you can use Fill layout that displays Tab Items fully and Hug layout that displays Tab Items to fit label length.

Fill layout is suitable when there are not many Tab Items and can display up to 5 tabs.

When there are 6 or more Tab Items or labels are long, it is recommended to use Hug layout.

Notifying of New Content in Tabs

Example of displaying Notification Badge only on event tab

Example of displaying Notification Badge on multiple tabs simultaneously
Don’t
Avoid displaying Notifications on multiple tabs simultaneously.

You can display Notification Badge on Tab Items to indicate new content.

Notification Badge disappears when content is confirmed, and should not be displayed on multiple tabs simultaneously.

Using Tabs Structure with 2 Depth

2 Depth Tabs structure example - Line Fill + Solid Chip, Line Hug + Outline Chip

When displaying the Tabs structure in duplicate, such as with secondary categories, combine different styles of tabs.

It is recommended to combine Line type for primary classification and Chip type Tabs for secondary classification.

Specification

Tablist

base

StateSlotPropertyValue
enabledrootcolor
strokeBottomWidth
strokeColor
indicatorheight
color
transformDuration
transformTimingFunction

layout=hug

StateSlotPropertyValue
enabledrootpaddingX
indicatorinsetX

layout=fill

StateSlotPropertyValue
enabledrootpaddingX
indicatorinsetX

size=small

StateSlotPropertyValue
enabledrootheight

size=medium

StateSlotPropertyValue
enabledrootheight

Tab

base

StateSlotPropertyValue
enabledlabelcolor
selectedlabelcolor
disabledlabelcolor
pressedrootscaleScope

size=medium

StateSlotPropertyValue
enabledrootminHeight
paddingX
paddingY
labelfontSize
lineHeight
fontWeight

size=small

StateSlotPropertyValue
enabledrootminHeight
paddingX
paddingY
labelfontSize
lineHeight
fontWeight

Chip Tablist

base

StateSlotPropertyValue
enabledrootpaddingX
gap

variant=neutralSolid

StateSlotPropertyValue
enabledrootgap

variant=neutralOutline

StateSlotPropertyValue
enabledrootgap

Table of contents