What it's calledTabssegmented controlview switcherGlossary
What goes wrong
Sections of the page and views of the same list are drawn as identical tabs, so nobody can tell which row changes the page and which only rearranges it.
The fix
Use tabs for sections that hold different content, and a segmented control beside the data for views of the same data.
Tell your AI
Mark sections with different content as tabs, text in var(--ds-text-2) with a 2px var(--ds-text) underline under the current one; switch views of the same data with a segmented control placed beside that data: a var(--ds-surface-2) track with var(--ds-radius-full) (999px) corners whose var(--ds-surface) thumb, with box-shadow: var(--ds-shadow-sm), slides over var(--ds-duration-base) (240ms).