Evantis

Design System

Input group

  • 12examples
shadcn Input Group on Base UI, Maia preset. Icons, text, buttons and status inside a field, on the field colours.

Inline start

  • Addons go after the input in the code; align places them.
  • Icons are decorative unless they are buttons.

Icon at the start of the field.

Inline end

  • An icon that looks pressable must be a real button with a label.

A real button: the eye shows or hides the password.

Block start

  • A header names what goes in the field, or holds its tools.
As on the wristband

Header above the input.

Visit note

Header above the textarea.

Block end

  • A footer holds counts, units and the send action.
mg

Footer below the input.

0/280

Footer below the textarea.

Icon

  • One icon per side; a status icon comes with a word.
  • Verified uses the DS success glyph and word in success green.
Verified

Text

  • Prefixes and suffixes show the format, like $ or .org.
$
USD
https://
.org
@dayonehome.org
120 characters left

Button

  • Icon buttons in a field always have an aria-label.
  • Toggles say their state with aria-pressed.
https://

Kbd

  • Show a shortcut only where it works.
⌘K

Spinner

  • A spinner always comes with a word or a placeholder that says what is happening.
  • Spinners are teal; inside a button they keep the button colours.
Saving…
Please wait…

Textarea

  • Header and footer frame a message; Send sits bottom right.
Seen by your nurse within 4 hours
To: Care team

Custom input

  • Any control joins with data-slot="input-group-control".