# Dialog

> Accessible modal dialog with focus trap, animation, and portal rendering.
> Source: https://otf-kit.dev/components/dialog

## At a glance

- **Platform:** Web (React)
- **Category:** Feedback
- **Package:** `@otfdashkit/ui` (free, MIT)
- **Tags:** modal, overlay, popup

## Install

```bash
bun add @otfdashkit/ui
```

## Usage

```tsx
import { Dialog } from '@otfdashkit/ui'
```

The `<Dialog>` component ships the same prop API on web (`@otfdashkit/ui`) and native (`@otfdashkit/ui-native`) where a parity version exists.

## Links

- Live preview + code: https://otf-kit.dev/components/dialog
- Storybook: https://ui.otf-kit.dev
- All components: https://otf-kit.dev/components
