Evantis

Design System

Kbd

  • 5examples
shadcn Kbd, Maia preset. A key the person presses, written as it appears on the keyboard: in a sentence, a button, a tooltip or a field. Keys are data, so they are set in IBM Plex Mono with the slashed zero, on the grey ground they keep everywhere (menus, command lists, tooltips).

Demo

  • One Kbd per key; a KbdGroup holds the keys of one shortcut.
  • Modifier symbols on a Mac (⌘ ⇧ ⌥ ⌃), words elsewhere (Ctrl).
⌘⇧⌥⌃Ctrl+B

Group

  • Inside a sentence the keys sit on the text line and keep the sentence's colour around them.

Press CtrlK to search your care plan.

Button

  • A key inside an Evantis Button sits after the label and only tells; the button still works by click and Enter.

Tooltip

  • Shortcuts belong in a tooltip, never only there: the action keeps its visible label.
  • Inside a dark tooltip the key keeps its 4px corners.

Input group

  • The ⌘K hint is a real shortcut: Cmd or Ctrl and K focus the field from anywhere on the page.
  • The hint is hidden from screen readers; the field says its shortcut with aria-keyshortcuts.