| 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 | Help users switch between sibling sections in the same page context without changing routes or losing local work. | Help users switch a local mode, view, filter, sort, or presentation immediately without navigation or form submission. | 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. | Tiny numbers with no current state. |
| Good UX | Users switch between sibling sections without leaving page context or losing panel-local notes. | 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. |