Evantis

Design System

Popover

  • 4examples
shadcn Popover on Base UI, Maia preset. A small panel a button opens beside itself, for a short task or a few details that belong to that button. Focus moves into it on open; Escape, a click outside or the trigger closes it and focus returns to the button. Popups have 8px corners and the elevation-3 shadow, like the dropdown menu.

Demo

  • The trigger is an Evantis secondary Button that says what the panel is for: Set Visit Window.
  • Fields are DS Inputs with their label above, at the caregiver field height.
  • Title in title-18, one plain sentence under it 8px below, fields 16px apart.

Basic

  • A title and a sentence, nothing to act on: the popover opens aligned to the start of its button.
  • The title names the popover for screen readers.

Align

  • Start, center or end lines the popover up with that edge of its button.
  • It flips to the other side when there is no room.

With form

  • A short form that belongs to one button: two fields, label above, units in the field.
  • Like shadcn's example it has no save button. A real screen saves on change or adds a primary MD Button.