# Tab views

Source: https://developer.apple.com/design/human-interface-guidelines/tab-views
Skill: hig-components-layout
Snapshot: 2025-02-02

---
<!-- hig-doctor:attribution -->
> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/tab-views.
> This file is a structured index of that content, snapshot 2025-02-02.
> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.

# Tab views

## Best practices

**Use a tab view to present closely related areas of content.**

**Make sure the controls within a pane affect content only in the same pane.**

**Provide a label for each tab that describes the contents of its pane.**

**Avoid using a pop-up button to switch between tabs.**

**Avoid providing more than six tabs in a tab view.**

## Anatomy

**In general, inset a tab view by leaving a margin of window-body area on all sides of a tab view.**

---

<!-- hig-doctor:canonical-footer -->
For the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/tab-views

