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 Item <wa-dropdown-item>

Represents one action or selectable option within a dropdown.

“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: Dropdown, Button. The full nested markup below remains independently usable.

Live preview

Markdown code snippet

<wa-dropdown>
  <wa-button slot="trigger" with-caret="">Choose</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.