Dialog

Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.

View on GitHub

Usage

import { Dialog } from '@nerdfish/ui'
<Dialog.Root>
	<Dialog.Trigger>Remove order</Dialog.Trigger>
	<Dialog.Content>
		<Dialog.Header>
			<Dialog.Title>Are you sure absolutely sure?</Dialog.Title>
			<Dialog.Description>
				This action cannot be undone. This will permanently delete your cake
				order and remove your dessert from our kitchen.
			</Dialog.Description>
		</Dialog.Header>
	</Dialog.Content>
</Dialog.Root>