All components

OVERLAYS / COMPONENTS

Drawer

Keep supporting work beside the page.

Live component5 documented props

About drawer

Drawers are used to provide users with additional context or tasks realte

01

Anatomy

Shared parts, named consistently.

  1. 1
    ContainerRequired

    The container of the Drawer

  2. 2
    HeaderRequired

    The Header of the Drawer.

  3. 3
    Title

    The title of the header.

  4. 4
    Icon ButtonRequired

    Button to close the drawer.

  5. 5
    BodyRequired

    The body of the Drawer.

Try the default

A working example with the shared V1 visual language.

Keep your project context close while you make changes.

When to use

Use for a focused supporting task with more space than a popover. Keep the surrounding context recognizable.

Focus is contained in the modal drawer. Escape closes; focus returns to the trigger.

Related components

Source & adaptation

V1 semantic colors, DM Sans typography, compact controls, and responsive layouts. The API table describes this implementation; source design notes may use earlier API terminology.

components/library/overlays.tsx