Suppers Software Logo
HomeUI Components
ButtonDropdownLoginButtonModalSearchButtonSearchModalSwapThemeController
AccordionAvatarBadgeCardCarouselChat BubbleCollapseCountdownDiffKbdLogoStatTableTimelineUserInfo
BreadcrumbsDockLinkMenuNavbarPaginationSidebarStepsTabsUserProfileDropdown
CheckboxColorInputDateInputDatetimeInputEmailInputFile InputInputNumberInputPasswordInputRadioRangeRatingSelectTextareaTimeInputToggle
ArtboardDividerDrawerFooterHeroIndicatorJoinMaskStack
AlertLoadingProgressRadial ProgressSkeletonToastTooltip
BrowserCodePhoneWindow

Drawer

Slide-out navigation

  • Home
  • Components

Basic Drawer

Simple sliding drawer panel

Main Content

This is the main content area.

  • Home
  • Projects
  • Settings
Show Code

Drawer with Overlay

Drawer with background overlay

Main content with overlay drawer.

Navigation

DashboardAnalyticsReports
Show Code

Responsive Drawer

Drawer that adapts to screen size

Content that works on mobile and desktop.

Mobile Menu

Show Code

Drawer with Navbar

Drawer integrated with navigation bar

Main content with integrated navbar.

  • Dashboard
  • Users
  • Settings
  • Logout
Show Code

End Drawer

Drawer that slides from the right side

Main content with right-side drawer.

Settings Panel

Show Code

API Props

PropTypeRequiredDefaultDescription
children*anyYes-Main content of the drawer
sidebarContent*anyYes-Content to display in the sidebar
allowOverlayTogglebooleanNofalseAllow toggling overlay
Examples: true, false
Since: 1.0.0
allowSideSwitchbooleanNofalseAllow switching drawer side
Examples: true, false
Since: 1.0.0
classstringNo-Additional CSS classes
controlsPosition'sidebar' | 'content'No"sidebar"Position of control elements
Examples: sidebar, content
Since: 1.0.0
idstringNo-HTML id attribute
onCloseFunctionNo-Close event handler
onToggle(arg0: boolean) => voidNo-Toggle handler for controlled mode
openbooleanNofalseWhether the drawer is open
Examples: true, false
Since: 1.0.0
overlaybooleanNotrueWhether to show overlay when open
Examples: true, false
Since: 1.0.0
showControlsbooleanNofalseWhether to show interactive controls
Examples: true, false
Since: 1.0.0
showStatusbooleanNofalseShow drawer status information
Examples: true, false
Since: 1.0.0
side'left' | 'right'No"left"Side where drawer appears
Examples: left, right
Since: 1.0.0
Components
UI LibraryBrowse AllGetting Started
Builder
Generate AppTemplatesAPI Reference
Resources
DocumentationDenodaisyUI

© 2025 Suppers Software Limited. Built with Deno, Fresh, Preact & DaisyUI.