diff --git a/submissions/examples/floating-notification-toast/README.md b/submissions/examples/floating-notification-toast/README.md new file mode 100644 index 00000000..772bb2d6 --- /dev/null +++ b/submissions/examples/floating-notification-toast/README.md @@ -0,0 +1,35 @@ +# Floating Notification Toast Component + +A lightweight notification toast component built entirely with HTML and CSS. Displays success, error, warning, or info messages with a status icon, title, message text, and optional dismiss button. Features a smooth slide-in entrance animation. + +## Classes + +| Class | Description | +|---|---| +| `ease-toast` | Base toast container with slide-in animation | +| `ease-toast-success` | Green success variant | +| `ease-toast-error` | Red error variant | +| `ease-toast-warning` | Amber warning variant | +| `ease-toast-info` | Blue info variant | +| `ease-toast-icon` | Circular status icon slot | +| `ease-toast-content` | Title and message wrapper | +| `ease-toast-title` | Toast title text | +| `ease-toast-msg` | Toast message text | +| `ease-toast-close` | Dismiss button | + +## Usage + +```html +
Your changes have been saved.
+Lightweight feedback toast component — Issue #1167
+ +Your changes have been saved.
+Something went wrong. Please try again.
+Your session will expire in 5 minutes.
+A new version of the app is available.
+