Skip to main content

Navigation Drawer

Demo

zeta-web v0.6.6
Web Components

Navigation drawers provide access to destinations and app functionality, such as switching accounts. They can either be permanently on-screen or controlled by a navigation menu icon

Storybook

https://design.zebra.com/web/storybook/?path=/docs/components-navigation-drawer--docs

Slots

NameDescriptionType
defaultThe main content of the drawer.text
headerThe drawer header.text
footerThe drawer footer.text

Attributes

NameDescriptionTypeDefault
anchorThe side of the screen that the drawer is anchored on."left" | "right""left"
showAnimationToggles the animation for the navigation drawer.booleantrue
initialOpenWhether the modal is initially open.booleanfalse

Inherited Attributes

NameDescriptionTypeDefaultInherited From
returnValueReturn value of the dialog.string""Popup
closeOnBarrierClickedWhether the modal should close when the background barrier is clicked.This is only relevant for modal dialogs, non-modal dialogs do not control their background barrier.booleantruePopup
openWhether component is open or closed.undefinedundefinedPopup

Figma

https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=1139-23491