# UiDialog

A wrapper around the native `<dialog>` element. Native `<dialog>` behaviors and events (such as the `cancel` event fired when the Escape key is pressed) apply.

## Usage

```html
<template>
  <UiDialog>
    <template #header>Header</template>

    <p>Main content</p>

    <template #footer>Footer</template>
  </UiDialog>
</template>

<script setup>
import UiDialog from "@dpa-id-components/dpa-shared-components/components/UiDialog/UiDialog.vue";
</script>
```
