@aura-ui/dialog
v0.0.2
Published
A window overlaid over primary content, or another dialog window.
Downloads
3
Readme
Dialog
Aura UI Dialog component.
Installation
npm install @aura-ui/dialog
# or
yarn add @aura-ui/dialog
Import Components
import {
Dialog,
DialogClose,
DialogContent,
DialogDescription,
DialogTitle,
DialogTrigger,
} from '@aura-ui/dialog';
Component
Dialog
: A window overlaid over primary content, or another dialog window..
Usage
<Dialog>
<DialogTrigger asChild>
<Button>Open Dialog</Button>
</DialogTrigger>
<DialogContent>
<DialogTitle>Dialog title</DialogTitle>
<DialogDescription>Short description of the action required.</DialogDescription>
<Typography>Lorem ipsum dolor sit amet consectetur adipisicing elit.</Typography>
</DialogContent>
</Dialog>