| UI or UX | UI + UX - Section-switching component | UI + UX - Compact mode selector | UI + UX - Paged navigation control |
| UI guidance | Render a tablist with short tab labels, selected tab styling, visible keyboard focus, and a single associated tabpanel that is visually connected to the active tab. | Render a compact horizontal group with two to four adjacent segments, one selected state, visible focus, and stable sizing. | Render a labeled pagination nav near the affected results with current page, previous, next, nearby pages, optional first/last or ellipsis, and clear disabled edge states. |
| UX guidance | Avoid tabs when users must compare panels, read panels sequentially, or complete required workflow steps. | Avoid using segments for unrelated pages, hidden content sections, destructive actions, or choices that need long explanation. | Help users move through an ordered result set with a stable sense of position, progress, and returnability. |
| Good UI | Tab labels are short, active tab is obvious, focused tab is distinguishable, and panel content is visually attached to the selected tab. | Two to four adjacent segments with a clear selected segment, visible focus ring, and readable labels that fit on one row. | Current page, previous/next, disabled edges, page numbers, result range, and total count are visually clear. |
| Bad UI | Tabs wrap unpredictably or look like unrelated buttons. | Many cramped segments with truncated text. | Pagination jumps around as pages load or separates controls from the result list. |
| Good UX | Keyboard users can move focus with arrows, activate with Enter or Space, and then reach the selected panel. | Selecting a segment changes a nearby local mode, filter, or view immediately. | Users move through pages while query, filters, and sort persist. |
| Bad UX | Using tabs as primary navigation to unrelated pages. | Using segments for unrelated destinations. | Changing page resets filters. |
| Best fit | Users switch between sibling panels frequently. | There are a few mutually exclusive modes. | The collection has many ordered results. |
| Avoid when | The destinations are unrelated pages. | Options are full content sections needing tab semantics. | Users need uninterrupted reading or comparison. |
| Required state | Default active tab and visible panel. | Default selected segment. | First page with disabled previous control. |
| Accessibility burden | Expose the active tab and associated panel. | Expose selected or pressed state and the group name. | Use a labeled navigation region. |
| Common misuse | Using tabs as a primary site navigation system. | Using segments for unrelated page navigation. | Using pagination for a tiny collection. |