API reference: @salmonui/overlays/drawer
Drawerfunction
import { Drawer } from '@salmonui/overlays/drawer';function Drawer(props: DrawerProps): ReactElement;
namespace Drawer {
const Trigger: DialogParts['Trigger'];
const Close: DialogParts['Close'];
const Title: DialogParts['Title'];
const Description: DialogParts['Description'];
const Body: DialogParts['Body'];
const Footer: DialogParts['Footer'];
}
Drawer (.salmon-drawer): a modal (or modeless) dialog docked to an edge,
on the same dialog host. Escape and a backdrop press close it by default.
The Navigation category's Sidebar overlay mode renders it.