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.

Dropdown <wa-dropdown>

Combines a trigger button with reusable menu item controls.

“provides the user a simple way to trigger an event” — Wikipedia: Button (computing). This quote supplies general domain context, not an API definition.

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

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

Atomic composition

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

Live preview

Markdown code snippet

<wa-dropdown>
  <wa-button slot="trigger" with-caret="">Actions</wa-button>
  <wa-dropdown-item value="inspect">Inspect</wa-dropdown-item>
  <wa-dropdown-item value="restart">Restart</wa-dropdown-item>
</wa-dropdown>

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