Conversation
Generated component following the Webflow code components scaffold pattern. Includes full and simple prop surface variations.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Component: ModalDialog
Description
A modal dialog component that displays as a centered overlay with a semi-transparent backdrop. Features a title heading at the top, rich body content area, and a close button (X icon) positioned in the top-right corner. Opens with a smooth fade and scale animation, and closes when clicking the backdrop, pressing Escape, or clicking the close button. Focus is trapped within the modal when open, preventing interaction with underlying content. The modal is fully responsive and adapts to different screen sizes with configurable maximum width variants.
What's Included
var(--background-primary, #ffffff), etc.font-family: inherit; color: inherit;ModalDialog.webflow.tsx) — 20+ props for developers/agenciesModalDialogSimple.webflow.tsx) — core text/link props for clientswf-modal-dialog-for Shadow DOM safetyTesting
npm install && npm run devruns locallynpx webflow library shareimports successfully