Modal Lab
v0.3.11 · Latest stableUse the top panel to configure modal options. The preview sits in the middle, and the generated code stays below it.
This action cannot be undone.
import { openModal } from 'sodialog'
import 'sodialog/style.css'
openModal({
title: 'Delete record',
content: '<p>This action cannot be undone.</p>',
width: 560,
traceId: 'trace-modal-lab-001',
})