Agentic Design System
v3.5.0

Components · Feedback · Drawer

Back to Drawer types

Drawer

Owner: Design System Team · Version: v3.5.0

Use for a panel that slides in from a screen edge above a dimmed backdrop, for tasks that need more room than a Modal but shouldn't fully interrupt the page layout - one Drawer component, controlled by properties, not a one-off overlay built from scratch each time.

Properties

Size, corner radius, title, body text and the close button are properties of the same component, not separate panels glued together - change them below to check this drawer's style and states in the Live Preview.

Corner radius
Show close button

Live Preview

All 4 placements compared side by side, each in all 3 structural states, at the chosen Size, title and body text - Size controls width on Left/Right and height on Top/Bottom. One full matrix is rendered per selected Corner radius.

When to use

Any moment that needs more room than a Modal but shouldn't fully interrupt the page layout behind it.

Edit-in-place panel Filter/settings side panel Detail preview without leaving the list Multi-step form in a focused flow Notification center panel

Component Guide

Overview

Drawer is a panel that slides in from a screen edge above a dimmed backdrop, for tasks that need more room than a Modal but shouldn't fully interrupt the page layout behind it - the page stays visible and contextually present at the edge, unlike Modal's fully centered takeover.

When to Use

  • An edit-in-place panel - editing a record's details without leaving the list behind it.
  • A filter or settings side panel - adjusting options while keeping the underlying content in view.
  • A detail preview or a multi-step form that needs more room than a dialog - still tied to the specific context it opened from.

When Not to Use

  • A short, focused decision or confirmation - use Modal - Drawer's larger size is unnecessary weight for a quick yes/no.
  • Content meant to persist as part of the page's normal layout - use a permanent panel or sidebar rather than a Drawer that must be explicitly opened and closed.
  • A brief, non-blocking status update - use Toast or Notification instead of a full sliding panel.

Best Practices

  • Keep the underlying page visible and dimmed, not hidden, so context isn't lost while the Drawer is open.
  • Choose a consistent edge (commonly the right) for a given type of task across the product.
  • Warn before closing a Drawer with unsaved changes, the same way you would for a Modal.

Do and Don't

Do

A side task with enough substance to fill the panel, kept beside the list it acts on rather than covering it.

Don't

A one-line confirmation leaves most of the panel empty and still blocks the page to slide in. Use Modal or Pop Confirm when there is only a question to ask.

Accessibility

  • Traps keyboard focus within the panel while open, and restores it to the triggering element on close, matching Modal's behavior.
  • Exposed as role="dialog" with aria-modal="true" and an accessible name (its title via aria-labelledby), announced as it opens - like Modal, this is focus management and an interrupting dialog, not a passive aria-live announcement.
  • Escape and a visible close control are both always available, regardless of what task is in progress inside it.

Related Components

Modal, Popover, Steps.