<!-- Auto-generated by `velinstyle docs generate`. Do not edit. Source: components/velin-dropdown.js -->

# <velin-dropdown>

Source: `components/velin-dropdown.js`

## Minimal working example
Copy-paste starter (load CSS + `velinstyle-components` / `bootFromDOM` as needed):

```html
<velin-dropdown align="end">
              <button class="velin-btn velin-btn--outline" slot="trigger">Align End</button>
              <button role="menuitem">Item A</button>
              <button role="menuitem">Item B</button>
            </velin-dropdown>
```

_Example derived from human component docs (`exampleSource: human-doc`; fail-closed extract — not a second SoT)._

## Accessibility
WCAG contract status: **pass** (framework target: AAA).

- **Roles:** `menu`, `button`
- **Keyboard:** Roving, typeahead, Escape

## Attributes
| Attribute | Notes |
| --- | --- |
| `open` | Observed — triggers `attributeChangedCallback` when changed |
## Events
- `velin-close` (bubbles)
## CSS parts
- `menu`
## Slots
- `(default)`
- `trigger`
## Public API
| Kind | Name |
| --- | --- |
| Method | `close()` |
| Method | `open()` |
| Method | `toggle()` |
## Related resources
- Generated API docs (canonical): [`velin-dropdown.md`](./velin-dropdown.md)
- Generated index: [README.md](./README.md)
- CLI API: `npx velinstyle wc api velin-dropdown`
- Human docs EN (tutorial): `docs/components/dropdown.html`
- Human docs DE (tutorial, lang-map): `docs/components/dropdown-de.html`
- Atelier library (showcases — **not** a 1:1 Component map): `atelier/library/index.html`
