<nve-drawer>
Properties
Enables updating internal string values for internationalization.
Create a inline layout effect while retaining the a11y characteristics and top layer behavior (light dismiss, focus trap, non interactive background) https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
true
false
Provides the element that the popover should position relative to. Anchor can accept a idref string within the same render root or a HTMLElement DOM reference.
Determines if a drawer should have a modal backdrop that visually overlays the UI.
true
false
Indicates whether the user can dismiss or close the element.
true The element displays a close control and the user can dismiss it.
false The user cannot close the element and must dismiss it programmatically.
Controls the visual scale of an element to match its importance and available space.
sm Compact size for dense layouts or secondary elements with less visual prominence.
md Standard size that works well in most contexts and provides balanced visibility.
lg Larger size for emphasizing important elements or improving touch targets in spacious layouts.
Determines the position of an element along both inline and block axis. MDN
left
right
bottom
top
Use the popover API instead.
The trigger defines what element triggers an open interaction event.
A trigger can accept a idref string within the same render root or a HTMLElement DOM reference.
Use the popover API instead. Determines if popover visibility behavior should be automatically controlled by the trigger.
boolean
Events
Slots
default content slot
CSS Properties
CSS Parts
The close icon button element
<nve-drawer-header>
Slots
default slot for the drawer header
<nve-drawer-footer>
Slots
default slot for the drawer footer