# Dialog

Dialog example: a centered modal with blurred overlay, header, title, description and footer. A ghost close button sits in the top corner by default.

Component · Dialog · https://01orbital.dev/docs/components/dialog

## Installation

```bash
npx shadcn@latest add @01orbital/dialog
```

## Dependencies

Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

- [Button](https://01orbital.dev/docs/components/button)

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

npm: `@base-ui/react`, `@phosphor-icons/react`, `cn`

## Used in blocks

- [Added to Cart Dialog](https://01orbital.dev/docs/blocks/cart-dialog-01)
- [Agent Workspace](https://01orbital.dev/docs/blocks/agent-workspace)
- [Project Brief Questionnaire Dialog](https://01orbital.dev/docs/blocks/questionnaire-dialog-01)
- [Team Selector](https://01orbital.dev/docs/blocks/team-selector)
- [Top Editorials](https://01orbital.dev/docs/blocks/top-editorials)
- [Upcoming Charge](https://01orbital.dev/docs/blocks/upcoming-charge-01)
- [Usage and Spending Limits](https://01orbital.dev/docs/blocks/usage-meter-01)
