MNEE
v0.0.1

Components

Drawer

In Progress

Side panel that slides in from the left or right edge of the screen. Closes on backdrop click or Esc. Body scroll is locked while the drawer is open.

Design system component. Fully styled by the UX team — no color or style changes needed. Choose a variant, provide your content, and wire your handler or route.

Default

Width variants

Side

Usage

import { Drawer } from "@mnee-ui/ui"

Props

PropTypeDefaultDescription
isOpenbooleanControls open/close state
onClose() => voidCalled on backdrop click or Esc key
titlestringHeader title text
width"sm" | "md" | "lg" | "xl""md"Panel width: 320 / 480 / 600 / 800 px
side"left" | "right""right"Edge the drawer slides in from
footerReactNodeSticky footer content (e.g. Close button)
childrenReactNodeScrollable body content
classNamestringLayout utilities only (margin, padding, width)