Add ToastNotification component#28
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: ToastNotification
Description
A toast notification system that displays temporary messages in a configurable screen corner (top-right, top-left, bottom-right, bottom-left). Each toast card features a colored left border and icon matching the variant (success with green checkmark, error with red X, warning with yellow exclamation, info with blue info icon), followed by a bold message title and optional lighter description text below. A close button (X) appears on the right. A progress bar animates along the bottom edge, depleting over the auto-dismiss duration. Toasts stack vertically with 12px gaps, slide in smoothly from their corner direction, and fade out when dismissed. Maximum 5 toasts visible simultaneously; oldest auto-dismiss when the limit is exceeded. Fully responsive with appropriate padding and max-width constraints.
What's Included
var(--background-primary, #ffffff), etc.font-family: inherit; color: inherit;ToastNotification.webflow.tsx) — 20+ props for developers/agenciesToastNotificationSimple.webflow.tsx) — core text/link props for clientswf-toast-notification-for Shadow DOM safetyTesting
npm install && npm run devruns locallynpx webflow library shareimports successfully