Skip to content

Dropdown

A disclosure menu built on the Popover API (popovertarget/popover) for positioning and light dismiss, with arrow-key movement between items.

  • placement: top, bottom (default), start, end
  • id: optional; defaults to a slug of label
<Dropdown label="Options">
<a href="/one/">One</a>
<a href="/two/">Two</a>
</Dropdown>