Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Drawer <wa-drawer>

Opens a dismissible panel at the viewport edge.

“the space where interactions between humans and machines occur” — Wikipedia: User interface. This quote supplies general domain context, not an API definition.

Category: Layout · Availability: Core · Maturity: Stable.

Source: Web Awesome component source (MyST GitHub transformer); official component documentation.

Atomic composition

Reuse: Button. The full nested markup below remains independently usable.

Live preview

Markdown code snippet

<wa-button data-demo-target="demo-drawer" data-demo-action="show">Open drawer</wa-button>

<wa-drawer id="demo-drawer" label="Settings">
  <p>Node settings</p>
  <wa-button slot="footer" data-demo-target="demo-drawer" data-demo-action="hide">Close</wa-button>
</wa-drawer>

Use native MyST for documentation layout; interactive Web Awesome previews remain hosted through the existing {anywidget} integration when available.