Dialog

Accessible modal dialog.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/dialog.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/dialog. You can also copy the source into components/ui/dialog.tsx (view on GitHub).

Usage

import { Dialog } from '@/components/ui/dialog'

Dependencies

  • motion
  • Tooltip

    Hover/focus hint bubbles.

  • Accordion

    Expandable sections with motion.

  • Dropdown Menu

    Action menu anchored to a trigger.

  • Tabs

    Keyboard-friendly tabbed panels.

  • Toast

    Transient notifications with a provider.

  • Checkbox

    Checkbox with optional label.

See all 18 Core components