# Modal

> An accessible modal dialog for confirmations like cancelling orders or revoking API keys, with a focus trap and Escape to close.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/modal
```

npm dependencies: clsx, lucide-react, motion, tailwind-merge

## Links

- Live preview and code: https://ssych.com/library/modal
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
