Command Example

Display a dialog.

How to use this command

Props

No props in it!

Playground

Import from filigran-ui :

Import {Dialog, DialogContent, DialogFooter, DialogTitle, DialogDescription} from 'filigran-ui'

<Dialog>
  <DialogTrigger asChild>
    <Button>Show dialog</Button>
  </DialogTrigger>
  <DialogContent>
    <DialogHeader>
      <DialogTitle>Dialog title</DialogTitle>
      <DialogDescription>
            Dialog description
      </DialogDescription>
    </DialogHeader>
    <div>
        This is the content.
    </div>
    <DialogFooter>
      This is in the footer. Put anything here!
    </DialogFooter>
  </DialogContent>
</Dialog>