NERV-UI DOCS
inspection terminal
live
doc.access // online
NERV COMPONENT INSPECTION
route integrity monitored

System Dialog

Modal dialog with a monitor-overlay backdrop. Severity levels add red borders, blinking warning icons, and hazard stripes. Uses AnimatePresence for smooth enter/exit transitions.

[SRC]tsx
1import { SystemDialog } from "@mdrbx/nerv-ui";

Severity Levels

[i]INTERACTIVE

Click each button to open the dialog. Click ACCEPT, DECLINE, or the overlay background to close.

//Normal

NORMALinspection frame
live inspectionframe-01

//Warning

WARNINGinspection frame
live inspectionframe-01

//Critical

CRITICALinspection frame
live inspectionframe-01

Props

PropTypeDefaultDescription
open*booleanDialog visibility state
titlestring"SYSTEM NOTIFICATION"Dialog title text
childrenReactNodeDialog body content
severity"normal" | "warning" | "critical""normal"Visual severity level
acceptTextstring"ACCEPT"Accept button label
declineTextstring"DECLINE"Decline button label
onAccept() => voidAccept button callback
onDecline() => voidDecline button callback
onClose() => voidOverlay click callback
showHazardStripesbooleanForce hazard stripe border display
classNamestring""Additional CSS classes