Evantis

Design System

Drawer

  • 8examples
shadcn Drawer on Base UI, Maia preset. A panel that slides in from an edge for a short task: pick a time, log a glass of water, set a goal. Swipe it away, press Esc, or use its buttons.

Demo

  • Opens from the right on wide screens and from the bottom on phones, with a handle to drag.
  • Choices are cards with a title and a line of detail; the whole card is the tap target.
  • After the drawer closes, the page says what was booked, with the success glyph.

Position

  • A drawer can open from any edge; this one comes from the left.
  • Step buttons are icon-only and named for what they do (500 more steps).

Swipe handle

  • The handle is a neutral bar at the edge the drawer leaves from.
  • Swiping is never the only way out: there is always a button, and Esc works.

Nested

  • Each drawer opens from the same edge and stacks on the one before it.
  • Keep stacks shallow; Close closes only the top drawer.

Non modal

  • The page behind stays usable: no scrim, and a click outside does not close it.
  • Use it for reference beside a task, like visit notes.

Snap points

  • Opens at a peek height and drags up to full height.
  • Say in the description that it can be dragged.

Responsive

  • A dialog on wide screens, a drawer under 768px: same title, same form.
  • The switch happens after the first paint, so the server and browser render the same thing.

Evantis side drawer

  • SideDrawer: non-modal, from the right, over the page; the page stays usable.
  • One at a time: opening another closes the first, which slides and fades out.
  • Esc and the LG close button close it; on phones it covers the page.