Nav Dropdown
An Icon Link trigger paired with a floating panel via a native <details> disclosure — zero runtime JS. The panel is slotted, so it holds any menu; the chevron rotates when open. Compose it inside an App Bar for chrome nav.
Preview (click to open)
<EsaAppBar tone="brand" as="header">
<EsaNavDropdown icon="trees" label="Mitigation work">
<EsaLinkColumn heading="View all topics" links={[…]} />
</EsaNavDropdown>
</EsaAppBar> API
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | required | Trigger label. |
icon | string | — | Leading icon on the trigger. |
size | 'sm' | 'md' | 'md' | Trigger size (matches esa-icon-link). |
align | 'start' | 'end' | 'start' | Which edge of the trigger the panel aligns to. |