Lucent UI
DashboardHeaderConfirmationDialogProductCard
✦ LLM-ready

ConfirmationDialog

pattern

Confirmation dialog with title, description, and confirm/cancel actions. Includes a typed confirmation variant that requires the user to type a value before confirming, and a non-destructive variant. Composes Card, Stack, Row, Text, Input, Button, and Icon.

"Build a ConfirmationDialog pattern from lucent-ui with Card, destructive title, warning description, and Cancel/Delete buttons. Include a typed confirmation variant with Input."

Usage

React / JSX
import { Card, Stack, Row, Text, Input, Button } from 'lucent-ui'

<ConfirmationDialog />

Installation

pnpm add lucent-ui

API Reference

ConfirmationDialog props — * required

PropTypeDefaultDescription
CardcomponentElevated surface container for the dialog.
TextcomponentDialog title and description.
InputcomponentTyped confirmation field for destructive actions.
ButtoncomponentCancel and confirm action buttons.
StackcomponentVertical layout for dialog content.
RowcomponentHorizontal layout for button row.