Skip to content

Tabs Styling

Style every visual detail of the Tabs option type — the tab bar, each tab's states, the content panel, and animations — using per-type templates.

Overview

Read Types Settings first if you haven't created a template before. This page covers every setting available once you're editing a Tabs template, grouped the same way they appear in the editor's left navigation.

Tab Bar Style

The foundational choice — pick a visual preset first, since the rest of the bar's controls are calibrated against it.

SettingWhat it controlsOptions / Range
Tab Bar StyleThe overall visual preset for the tab barPlain, Underline (default), Pills, Segmented

Underline-only settings:

SettingWhat it controlsDefaultRange
Indicator ColorColor of the line under the selected tabBlack
Indicator ThicknessThickness of that line3px1–6px

Pills-only settings:

SettingWhat it controlsDefaultRange
Pill Border RadiusCorner rounding of each pill-shaped tab6px0–30px

Segmented-only settings:

SettingWhat it controlsDefaultRange
Container PaddingInset between the segmented track and its selected pill4px0–12px

Tab States

Idle, hover, and selected colors for each tab, edited via state tabs in the editor:

SettingWhat it controlsDefault
Text ColorTab label color for that stateDark gray (idle/hover/selected)
Background ColorTab background color for that stateTransparent

When Tab Bar Style is Pills, each state also gets:

SettingWhat it controlsDefaultRange
Outline WidthThickness of the pill's outline in that state0px0–4px
Outline ColorColor of that outlineBlack

Container

The outer shell of the whole tabs component.

SettingWhat it controlsDefaultRange
Border Radius (per corner)Rounding of each of the 4 outer corners0px0–30px
Container Border WidthThickness of the outer border around the entire component1px0–8px
Container Border ColorColor of that borderLight gray
Container ShadowDrop shadow on the whole componentNo ShadowNo Shadow, Subtle, Medium, Strong

Tab Bar Layout

Bar Layout:

SettingWhat it controlsDefaultOptions / Range
Tab AlignmentHow tabs are positioned within the barLeftLeft, Center, Right, Stretch
Bar BackgroundBackground color of the tab barWhite
Bar PaddingInner padding of the bar (hidden for Segmented, which uses Container Padding instead)0px0–24px
Bar Bottom Border (Underline style only)Toggles a border under the entire barOn
Bar Border Color (if bottom border on)Color of that borderLight gray
Bar Border Thickness (if bottom border on)Thickness of that border1px1–8px

Alignment and overflow

If your tabs don't all fit in the bar, the layout automatically falls back to left-aligned and shows scroll buttons — regardless of your chosen Tab Alignment. This is intentional, so centered or right-aligned tabs never scroll off-screen. Use the Sandbox preview to test overflow behavior.

Scroll Buttons (shown only when tabs overflow the bar):

SettingWhat it controlsDefaultOptions / Range
Scroll Button StyleVisual treatment of the scroll chevronsGhostGhost, Floating, Divider
BackgroundButton background colorTransparent
Icon ColorChevron icon colorDark gray
Icon SizeChevron icon size22px15–30px
Divider Color (Divider style only)Color of the vertical separator lineLight gray
Divider Thickness (Divider style only)Thickness of that line1px1–4px

Tab Item

SettingWhat it controlsDefaultRange
Tab Padding (per side)Inner padding of each tab12px top/bottom, 20px left/right0–40px
Tab Min WidthMinimum width each tab must occupy0px (auto)0–200px
Tab GapSpace between adjacent tabs0px0–32px

Typography

SettingWhat it controlsDefaultOptions / Range
Font SizeSize of tab label text14px8–30px
Font Weight (Idle)Weight of unselected tab labels500300, 400, 500, 600, 700
Font Weight (Selected)Weight of the selected tab's label600300, 400, 500, 600, 700
Text TransformCase transformation of tab labelsNoneNone, Uppercase, Capitalize, Lowercase
Letter SpacingSpacing between letters0px-2 to 8px
Label TruncationTruncates long labels with an ellipsis instead of wrappingOff

Content Panel

The body area shown below the active tab.

SettingWhat it controlsDefaultRange
Content Padding (per side)Inner padding of the content area16px all sides0–40px
Content BackgroundBackground color of the content panelWhite
Content Text ColorText color inside the panelDark gray
Content Font SizeFont size of body text14px8–30px
Content Font WeightFont weight of body text400300–700
Content Line HeightLine spacing of body text1.51–2.5
Content BorderToggles a border on the content panelOff
Content Border Color (if on)Color of that borderLight gray
Content Border Thickness (if on)Thickness of that border1px1–8px

Shadow moved to Container

Content Panel used to have its own shadow setting — it now lives on the whole component under Container → Container Shadow.

Animation

SettingWhat it controlsDefaultOptions
Tab Hover EffectMicro-interaction when hovering a tabNoneNone, Lift, Scale Up
Content TransitionAnimation when switching between tab panelsFadeFade, Slide Horizontal, Slide Up, None
Transition DurationSpeed of the content transition300ms150ms, 300ms, 500ms
Transition EasingEasing curve of the transitionEaseEase, Ease-in-out, Linear, Ease-out

Responsive

SettingWhat it controlsDefaultRange
Mobile Font SizeOverrides tab label font size on small screensUses desktop size8–30px

Advanced

SettingWhat it controlsDefaultRange
Focus Outline ColorKeyboard-focus outline color, for accessibilityBlue
Focus Outline WidthThickness of that outline2px1–4px
Disabled OpacityOpacity applied to a disabled tab50%0–100%

How to Style Tabs

  1. Open the Style Settings modal (see Customization Overview)
  2. Click TypesTabs
  3. Create a new template or click an existing one to edit it
  4. Use the left navigation to jump between Tab Bar Style, Container, Tab Bar Layout, Tab Item, Typography, Tab States, Content Panel, Animation, Responsive, and Advanced
  5. Watch the Live Preview update as you change settings
  6. Click Save in the contextual save bar