• Lightest
  • Light
  • Dark
  • Darkest
  • Medium
  • Large
  • LTR
  • RTL

Tabs

Component status
Verified
Last releasedOctober 20, 2020
Current version@spectrum-css/tabs@3.0.0-beta.5

Variants


Basic tabs
Verified

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 27px; left: 0px;"></div>
</div>

Tabs with icons
Verified

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 55px; left: 0px;"></div>
</div>

Quiet
Verified

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--quiet">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 27px; left: 0px;"></div>
</div>

Quiet tabs with icons
Verified

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--quiet">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 55px; left: 0px;"></div>
</div>

Compact
Contribution

Compact tabs should never be used without the quiet variation. Please use Quiet Compact Tabs instead.

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 27px; left: 0px;"></div>
</div>

Compact tabs with icons and text
Contribution

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 55px; left: 0px;"></div>
</div>

Compact tabs with icons
Contribution

Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 17px; left: 0px;"></div>
</div>

Compact (quiet)
Verified

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact spectrum-Tabs--quiet">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 27px; left: 0px;"></div>
</div>

Compact tabs with icons and text (quiet)
Contribution

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact spectrum-Tabs--quiet">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 55px; left: 0px;"></div>
</div>

Compact tabs with icons only (quiet)
Contribution

Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact spectrum-Tabs--quiet">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 17px; left: 0px;"></div>
</div>

Vertical tabs
Contribution

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--vertical">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="height: 46px; top: 0px;"></div>
</div>

Vertical tabs with icon and text
Contribution

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--vertical">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="height: 46px; top: 0px;"></div>
</div>

Compact vertical tabs
Contribution

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--vertical spectrum-Tabs--compact">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="height: 32px; top: 0px;"></div>
</div>

Compact vertical tabs with icon and text
Contribution

Tab 1
Tab 2
Tab 3
Tab 4
Show markup
<div class="spectrum-Tabs spectrum-Tabs--vertical spectrum-Tabs--compact">
  <div class="spectrum-Tabs-item is-selected" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Folder">
      <use xlink:href="#spectrum-icon-18-Folder" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Image">
      <use xlink:href="#spectrum-icon-18-Image" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Filter">
      <use xlink:href="#spectrum-icon-18-Filter" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </div>
  <div class="spectrum-Tabs-item" tabindex="0">
    <svg class="spectrum-Icon spectrum-Icon--sizeM" focusable="false" aria-hidden="true" aria-label="Comment">
      <use xlink:href="#spectrum-icon-18-Comment" />
    </svg>
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </div>
  <div class="spectrum-Tabs-selectionIndicator" style="height: 32px; top: 0px;"></div>
</div>

Basic tabs with overflow
Verified

Closed

Open

  • Tab 1
  • Tab 2
  • Tab 3
  • Tab 4
Show markup
<h4>Closed</h4>
<div class="spectrum-Tabs spectrum-Tabs--horizontal" style="width: 409px">
    <div class="spectrum-Picker spectrum-Picker--quiet">
      <button class="spectrum-FieldButton spectrum-FieldButton--quiet spectrum-Picker-trigger is-selected" aria-haspopup="true">
        <span class="spectrum-Picker-label">Tab 1</span>
        <svg class="spectrum-Icon spectrum-UIIcon-ChevronDownMedium spectrum-Picker-icon" focusable="false" aria-hidden="true">
          <use xlink:href="#spectrum-css-icon-ChevronDownMedium" />
        </svg>
      </button>
    </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 50px; left: 8px;"></div>
</div>

<h4 style="margin-top: 62px;">Open</h4>
<div class="spectrum-Tabs spectrum-Tabs--horizontal" style="width: 409px">
    <div class="spectrum-Picker spectrum-Picker--quiet is-open">
      <button class="spectrum-FieldButton spectrum-FieldButton--quiet spectrum-Picker-trigger is-selected" aria-haspopup="true">
        <span class="spectrum-Picker-label">Tab 1</span>
        <svg class="spectrum-Icon spectrum-UIIcon-ChevronDownMedium spectrum-Picker-icon" focusable="false" aria-hidden="true">
          <use xlink:href="#spectrum-css-icon-ChevronDownMedium" />
        </svg>
      </button>
    </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 50px; left: 8px;"></div>
</div>
<div class="spectrum-Popover spectrum-Popover--bottom spectrum-Picker-popover spectrum-Picker-popover--quiet is-open" style="margin-left: -5px; margin-top: -9px;">
  <ul class="spectrum-Menu" role="listbox">
    <li class="spectrum-Menu-item is-selected" role="option" aria-selected="true" tabindex="0">
      <span class="spectrum-Menu-itemLabel">Tab 1</span>
      <svg class="spectrum-Icon spectrum-UIIcon-CheckmarkMedium spectrum-Menu-checkmark spectrum-Menu-itemIcon" focusable="false" aria-hidden="true">
        <use xlink:href="#spectrum-css-icon-CheckmarkMedium" />
      </svg>
    </li>
    <li class="spectrum-Menu-item" role="option" tabindex="0">
      <span class="spectrum-Menu-itemLabel">Tab 2</span>
    </li>
    <li class="spectrum-Menu-item" role="option" tabindex="0">
      <span class="spectrum-Menu-itemLabel">Tab 3</span>
    </li>
    <li class="spectrum-Menu-item is-disabled" role="option" aria-disabled="true">
      <span class="spectrum-Menu-itemLabel">Tab 4</span>
    </li>
  </ul>
</div>

<div class="dummy-spacing"></div>

Compact tabs with overflow
Verified

Closed

Open


  • Tab 1
  • Tab 2
  • Tab 3
  • Tab 4
Show markup
<h4>Closed</h4>
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--quiet spectrum-Tabs--compact" style="width: 409px">
    <div class="spectrum-Picker spectrum-Picker--quiet">
      <button class="spectrum-FieldButton spectrum-FieldButton--quiet spectrum-Picker-trigger is-selected" aria-haspopup="true">
        <span class="spectrum-Picker-label">Tab 1</span>
        <svg class="spectrum-Icon spectrum-UIIcon-ChevronDownMedium spectrum-Picker-icon" focusable="false" aria-hidden="true">
          <use xlink:href="#spectrum-css-icon-ChevronDownMedium" />
        </svg>
      </button>
    </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 50px; left: 8px;"></div>
</div>

<h4 style="margin-top: 62px;">Open</h4>
<div class="spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--quiet spectrum-Tabs--compact" style="width: 409px">
    <div class="spectrum-Picker spectrum-Picker--quiet is-open">
      <button class="spectrum-FieldButton spectrum-FieldButton--quiet spectrum-Picker-trigger is-selected" aria-haspopup="true">
        <span class="spectrum-Picker-label">Tab 1</span>
        <svg class="spectrum-Icon spectrum-UIIcon-ChevronDownMedium spectrum-Picker-icon" focusable="false" aria-hidden="true">
          <use xlink:href="#spectrum-css-icon-ChevronDownMedium" />
        </svg>
      </button>
    </div>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 50px; left: 8px;"></div>
</div>
<br>
<div class="spectrum-Popover spectrum-Popover--bottom spectrum-Picker-popover spectrum-Picker-popover--quiet is-open" style="margin-left: -5px; margin-top: -9px;">
  <ul class="spectrum-Menu" role="listbox">
    <li class="spectrum-Menu-item is-selected" role="option" aria-selected="true" tabindex="0">
      <span class="spectrum-Menu-itemLabel">Tab 1</span>
      <svg class="spectrum-Icon spectrum-UIIcon-CheckmarkMedium spectrum-Menu-checkmark spectrum-Menu-itemIcon" focusable="false" aria-hidden="true">
        <use xlink:href="#spectrum-css-icon-CheckmarkMedium" />
      </svg>
    </li>
    <li class="spectrum-Menu-item" role="option" tabindex="0">
      <span class="spectrum-Menu-itemLabel">Tab 2</span>
    </li>
    <li class="spectrum-Menu-item" role="option" tabindex="0">
      <span class="spectrum-Menu-itemLabel">Tab 3</span>
    </li>
    <li class="spectrum-Menu-item is-disabled" role="option" aria-disabled="true">
      <span class="spectrum-Menu-itemLabel">Tab 4</span>
    </li>
  </ul>
</div>

<div class="dummy-spacing"></div>

Tabs with anchors
Verified

Show markup
<div class="spectrum-Tabs spectrum-Tabs--horizontal">
  <a href="#1" class="spectrum-Tabs-item is-selected">
    <span class="spectrum-Tabs-itemLabel">Tab 1</span>
  </a>
  <a href="#2" class="spectrum-Tabs-item">
    <span class="spectrum-Tabs-itemLabel">Tab 2</span>
  </a>
  <a href="#3" class="spectrum-Tabs-item">
    <span class="spectrum-Tabs-itemLabel">Tab 3</span>
  </a>
  <a href="#4" class="spectrum-Tabs-item">
    <span class="spectrum-Tabs-itemLabel">Tab 4</span>
  </a>
  <div class="spectrum-Tabs-selectionIndicator" style="width: 27px; left: 0px;"></div>
</div>

Migration Guide


Change workflow icon size to medium

If you use workflow icon with tab item, please replace .spectrum-Icon--sizeS with .spectrum-Icon--sizeM.