Tabs & segmented controls
Tabs change what you are looking at. A segmented control changes how the same content is shown.
Which control
Reach for tabs when each option reveals a different panel of content — Overview, Constraints, Build. Reach for a segmented control when the content stays and only the lens changes.
Tabs
Implements the WAI-ARIA tabs pattern properly, which is why this is a component and not a row of styled links.
The underline lives on the tab and is transparent when inactive, so selecting a tab does not change its height by 2px and shift the row beneath it.
Segmented control
Two or three options. Past four it is a select — the segments get too narrow to label honestly and start being truncated.
It carries radio semantics rather than tab semantics: it picks a value, it does not reveal a panel, and a screen reader should say "2 of 3".