Ctrl + K
Get StartedStylesCoreCompsCDK
Actions
Action Sheet
Button
Button Group
Context Menu
Dropdown Button
Menu
Side Menu
Form & Editors
Checkbox
Color Box
Color Palette
Cron Job
Date & Time Box
Date & Time Picker
Form
Image Editor
Json Viewer
Number Box
One time password
Paint
Password Box
Phone Box
Query Builder
Range Slider
Rate Picker
Rest Api Generator
Search Box
Select Box
Selection List
Step Wizard
Switch
Tag Box
Text Box
Textarea
Tree View
Uploader
WYSIWYG
Navigation & Layout
Avatar
Badge
Bottom Navigation
Breadcrumb
Calendar
Chips
Circular Progress
Collapse
Comment
Conversation
Data Pager
Data Table
Drawer
File Explorer
Grid Layout Builder
Image
KBD
List
Loading
Map
Media Viewer
Navbar
Picker
Popover
Popup
Progress Bar
Qrcode
Rail Navigation
Result
Skeleton
Sliding Item
Tabs
Tag
Time Line
Toolbar
Tooltip
Dialog & Notifications
Alert
Dialog
Loading Dialog
Notification
Toast

Drawer

import { AXDrawerModule } from '@acorex/components/drawer'; Drawer component is a sliding panel that emerges from the side of the screen, offering additional content or navigation options without occupying permanent space. It is ideal for menus, settings, or supplementary information, and can be easily toggled open or closed by the user.

Overview

In this section, you can test different options of this component and see the output in real time
Basic Drawer
Some contents...
Some contents...
Some contents...
Basic Drawer
Some contents...
Some contents...
Some contents...
Overlay

Usage

A simple example of using ax-drawer
Preview
Code

Location

You can change location of ax-drawer with location property
Preview
Code

Mode

You can change mode of ax-drawer with mode property
Preview
Code

Design Tokens

Design tokens are variables that define the visual style of ACoreX components. You can use them to change colors, typography, spacing, and other visual aspects. Default component colors use system surface colors.
--ax-comp-drawer-height100%Height of the drawer.
--ax-comp-drawer-bg-colorvar(--ax-sys-color-surface)Background color of the drawer. Defaults to the system's surface background color.
--ax-comp-drawer-header-padding0.75remPadding of the drawer header.
--ax-comp-drawer-header-border-b-width1pxBorder bottom width of the drawer header.
--ax-comp-drawer-header-border-colorvar(--ax-sys-border-color)Border color of the drawer header. Defaults to the system's border color.
--ax-comp-drawer-footer-padding0.75remPadding of the drawer footer.
--ax-comp-drawer-footer-border-t-width1pxBorder top width of the drawer footer.
--ax-comp-drawer-footer-border-colorvar(--ax-sys-border-color)Border color of the drawer footer. Defaults to the system's border color.
--ax-comp-drawer-footer-overlay0.75remOverlay of the drawer footer.
--ax-comp-drawer-container-bg-color0, 0, 0, 0.2Background color of the drawer container's backdrop/overlay. Uses rgba black with 20% opacity.

Copyright ©2017-2025 ACoreX Labs Inc.

On this page