Documentation menu · Modal
Modal

GlassDrawer

A drawer that slides in from any edge of the screen.

ListedProduction package import

#Overview

Catalogued without card preview

In 5.0 the compat drawer renders Sheet.Content through a body portal as a 100dvh viewport-fixed side panel; the 4.x contained/compact preview props were removed, so an open preview cannot stay inside its card.

Status
listed
Category
Modal
Package
aura-glass

#Install and Import

Install the package once, import the component from the public entry, and load styles a single time at the app root.

shell
npm install [email protected]
import
import { GlassDrawer } from 'aura-glass/compat'
styles
import 'aura-glass/styles.css';

#Accessibility

Keep visible labels and semantic structure around this surface. Confirm keyboard order, focus visibility, disabled states, and text contrast over the actual backdrop used by the app.

#SSR and Performance

Import from the public package entrypoint, load `aura-glass/styles.css` once, and keep expensive data, media, or animation work outside the visual component unless the product needs it.

#Theming

Theme with public props, `className`, `style`, and AuraGlass CSS variables. Avoid private DOM selectors so the component can upgrade with the package.