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

# <velin-modal>

Source: `components/velin-modal.js`

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

```html
<velin-modal title="Confirm"></velin-modal>
```

_Example from design-intelligence knowledge SoT (`core/meta/knowledge/components.json`)._

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

- **Roles:** `dialog`
- **Keyboard:** Escape, Tab trap
- **Notes:** Reactive title attribute + slot=title; footer slot.

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