Tabs

A row of options with an indicator that slides to the selected one. Underline for views of one thing, segmented for a quick switch.

Playground

Click and arrow through the tabs to see the indicator slide.

Variant
Size
<Tabs
	bind:value
	tabs={[
		{ value: 'overview', label: 'Overview' },
		{ value: 'missions', label: 'Missions', count: 12 },
		{ value: 'data', label: 'Data' },
	]}
/>

Underline

Under a page title, as links. The line runs the full width; the labels line up with the content.

Segmented

A view switcher and a filter. Icons alone need an aria-label.

Which one

Underline Views of one thing: a project, a vessel, a mission. Sits under the page title, usually as links so each view has its own URL.
Segmented One of 2 to 5 options that applies at once: map or table, a status filter, a small panel. Not for a value saved with a form; that is a radio group.
Navigation list A section of many separate pages, like settings. See the rules on its page.