Skip to main contenteBay Playbook
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles

Design system

  • Overview
    • Overview
    • Color
    • Dimension
    • Spacing
    • Typography
    • Breakpoints
    • Shadow
    • Shape
    • Opacity
    • Motion
    • Overview
    • Status
    • Accordion
    • Action bar
      • Overview
      • Inline notice
      • Page notice
      • Section notice
    • Avatar
    • Badge
    • Banner
    • Breadcrumb
      • Overview
      • Branded button
      • CTA button
      • Icon button
      • Link button
    • Card
    • Carousel
    • CCD
      • Filter chip
      • Input chip
      • Graphs
      • Metrics
    • Date picker
    • Dialog
    • Divider
    • Education notice
    • EEK rating and range
    • Expansion
      • Checkbox
      • Combobox
      • Dropdown
      • Numeric stepper
      • Password
      • Phone number
      • Radio button
      • Select list
      • Switch
      • Text area
      • Text field
    • Item tile
    • List row
      • Overview
      • Expressive loader
      • Skeleton loader
    • Media container
      • Top navigation bar
    • Pagination
    • Popover
    • Progress stepper
    • Search field
    • Section header
    • Segmented button
      • Overview
      • Context sheet
      • Focus sheet
    • Signal
    • Snackbar
    • Tab
    • Table
      • Tooltip
      • Tourtip
    • Toggle button group
    • Video player
    • Overview
    • Bulk editing
    • File uploading
      • Text link

Tab

v2.1

Tabs organize and manage content within an interface, allowing users to navigate between different sections or views without leaving the current page.

Stylized graphic of a tab.
Tabv2.1

On this page

  • Considerations
  • Anatomy
  • Properties
  • Behavior
  • Content
  • Screen sizes
  • Best practices
  • Specs

Anatomy

Properties

Behavior

Content

Screen sizes

Best practices

Specs

PreviousSnackbar
Things.People.Love.
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles
  • About eBay Design
  • Careers
  • Press
  • Privacy policy
© 2026 eBay. All rights reserved.

eBay Evo, the eBay trademark, and the eBay logo are the intellectual property of eBay Inc.

    Title

    All tabs must have a title. It should be brief and descriptive, using one or two words.

    Divider

    To create greater separation and prominence, a divider can be added along the bottom of a tab set.

    Scrolling

    Tabs extending beyond the screen are scrollable. The space between tabs can be adjusted to allow a glimpse of the content on the right.

    Number of tabs

    Tab sets must have at least two tabs. Aim for no more than 7 tabs where possible.

    Space between tabs

    Default spacing between tabs is 40px. However, the spacing will be adjusted automatically to ensure a peek on the right when tabs extend beyond the screen.

    States

    Tabs can be either active or inactive. When inactive, they have a hover state. Active state indicator lines span the width of their text.

    Labels

    Aim for fewer than 12 characters in tab labels, with a maximum length of 32 characters.

    Small

    Tabs are located beneath the header. If the content of the tabs exceeds the screen size, they can be scrolled left or right.

    Medium and large

    Tabs are typically placed at the top left in a contextual navigation bar located directly beneath the primary navigation.

    Nesting

    If required, use filtering for in-page content refinements.

    Don’t use tabs for additional content refinements.

    Label length

    Do keep tab labels short and concise.

    Avoid using long tab labels. Having fewer tabs will make them fit better on the screen and reduce the need for scrolling.

    Do follow the maximum character length for tab labels.

    Don’t exceed the 32 maximum character length. Labels should never wrap to two lines.

    A tab set with 3 tabs. The first tab is active.
    A tab set with 6 tabs. An underline is added beneath.
    A mobile screen with a tab set at the top. The first tab is active and the set runs off the right side—signaling it is scrollable.
    A desktop screen with 7 tabs at the top of the page. It is a selling page that has a left hand navigation and data table with filters.
    A mobile screen with a tab set at the top. The second tab is active and the set runs off the right side.
    Three tabs. The first has the active state applied, the second has the hovered state applied, and the third has the inactive state applied.
    A mobile screen with a tab set at the top. The third tab is active and the set runs off the right side. The tabs ready Tech, Fashion, Home & Garden, and Sporting Goods.
    A mobile screen with a tab set at the top. A set of filters and icon buttons are below it with some item tiles.
    A desktop screen with 7 tabs at the top of the page. It is a selling page that has a left hand navigation and data table with filters.
    A single tab set at the top of a mobile screen.
    Two tab sets stacked at the top of a mobile screen.
    A tab set at the top of a mobile screen. The tab labels are concise and read “Watchlist, Saved Searches, and Save Sellers”.
    A tab set at the top of a mobile screen. The tab labels are lengthy and read “Items you have saved” and “Searches you have saved”.
    A tab set at the top of a mobile screen. The tab labels are concise and read “Watchlist, Saved Searches, and Save Sellers”.
    A tab set at the top of a mobile screen. The tab labels are lengthy and one of them wraps to two lines of text.
    A spec for a tab set. There is 40px between tabs, 4px between the indicator line and text, and the indicator line and optional divider line are both 2px.

    Considerations

    Context preservation

    Tabs allow users to switch between sections without losing context on the page they’re on. Tabs only change the content below them.

    Flexible

    The number of tabs may vary depending on experience and context.

    Organizational

    Tabs can help divide content into more manageable and easier-to-digest sections.

    A tab set with 5 tabs. Number 1 points to Tab 1 which is active. Number 2 points the indictor line of the active Tab 1.
    1. Label
    2. Active indicator
    • CSS
    • Marko
    • React