Components/Dialog

Dialog

A composable dialog primitive for modern product interfaces.

Interactive example

Installation

Run the CLI from your project root. Dependencies and component source are added automatically.

$npx quackelements add dialog

Usage

The generated file lives in your repository, so the component API and styles remain fully editable.

example.tsx
import { Dialog, DialogTrigger, DialogContent } from "@/components/quack/dialog"

<Dialog><DialogTrigger>Edit profile</DialogTrigger><DialogContent>Profile form</DialogContent></Dialog>