Drawer
import { AXDrawerModule } from '@acorex/components/drawer';
Overview
Some contents...
Some contents...
Some contents...
Some contents...
Some contents...
Some contents...
Overlay
Usage
ax-drawer
Preview
Code
Location
ax-drawer
with location
propertyPreview
Code
Mode
ax-drawer
with mode
propertyPreview
Code
Design Tokens
--ax-comp-drawer-height | 100% | Height of the drawer. |
--ax-comp-drawer-bg-color | var(--ax-sys-color-surface) | Background color of the drawer. Defaults to the system's surface background color. |
--ax-comp-drawer-header-padding | 0.75rem | Padding of the drawer header. |
--ax-comp-drawer-header-border-b-width | 1px | Border bottom width of the drawer header. |
--ax-comp-drawer-header-border-color | var(--ax-sys-border-color) | Border color of the drawer header. Defaults to the system's border color. |
--ax-comp-drawer-footer-padding | 0.75rem | Padding of the drawer footer. |
--ax-comp-drawer-footer-border-t-width | 1px | Border top width of the drawer footer. |
--ax-comp-drawer-footer-border-color | var(--ax-sys-border-color) | Border color of the drawer footer. Defaults to the system's border color. |
--ax-comp-drawer-footer-overlay | 0.75rem | Overlay of the drawer footer. |
--ax-comp-drawer-container-bg-color | 0, 0, 0, 0.2 | Background color of the drawer container's backdrop/overlay. Uses rgba black with 20% opacity. |