Evantis

Design System

Tabs

  • 1component
Tabs switch views of the same plan. Arrow keys move between tabs; Home and End jump to the ends.

Tabs

  • Only the selected tab is in the Tab order.
  • Counts are mono so they don't shift.
  • The selected tab is marked by weight and an underline, not colour alone.
4 tasks today.

Demo

  • shadcn's Tabs on the DS Tabs, underline look; the filled look is Segmented below.
  • Each tab controls a panel; here a DS Card per tab.

Today’s plan

What is due today and what is done.

3 doses due, 1 visit at 2:00 PM.

Line

  • shadcn's Line variant is the DS look already, so Demo and Line match.
  • The current tab is teal underlined and semibold, not colour alone.

4 of 5 doses taken today.

Segmented

  • variant="segmented": shadcn's default look. The tabs sit in a filled track; the selected one is a raised white pill.
  • The selected tab is marked by ground, shadow and darker text, never weight: every label stays Regular.
  • Horizontal only, for 2 to 5 short labels that switch views of one thing.

Today’s doses, to-dos and the next visit.

Vertical

  • orientation="vertical": the rule moves to the left edge, up and down arrows move.
  • The panel sits to the right of the list.

Your name, phone and address.

Disabled

  • A disabled tab is skipped by the arrow keys.
  • A line under the tabs says why it is off.

Billing opens after your first visit.

Your care plan and who shares it.

Icons

  • An icon before the label, Material Symbols at 20px, aria-hidden: the label names the tab.
  • Never an icon alone in a tab.

Visits as a list, soonest first.