{
  "id": "toast-slide-in",
  "name": "Toast Notification",
  "category": "effects",
  "tags": [
    "toast",
    "notification",
    "snackbar",
    "slide",
    "alert"
  ],
  "description": "A compact success toast that slides up and fades in when it appears.",
  "url": "https://copy-css.com/snippets/toast-slide-in",
  "markdown": "https://copy-css.com/snippets/toast-slide-in.md",
  "html": "<div class=\"toast-ok\" role=\"status\">\n  <span aria-hidden=\"true\">✓</span>\n  Changes saved\n</div>",
  "css": ".toast-ok {\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  padding: 12px 18px 12px 12px;\n  border-radius: 12px;\n  background: #18181b;\n  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);\n  color: #fafafa;\n  font: 500 14px/1 system-ui, sans-serif;\n  animation: toast-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;\n}\n\n.toast-ok span {\n  display: grid;\n  place-items: center;\n  width: 22px;\n  height: 22px;\n  border-radius: 50%;\n  background: #22c55e;\n  color: #052e16;\n  font-weight: 800;\n}\n\n@keyframes toast-in {\n  from { opacity: 0; transform: translateY(16px) scale(0.96); }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .toast-ok { animation: none; }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "box shadows",
    "CSS Grid",
    "Flexbox",
    "reduced-motion support"
  ],
  "customProperties": []
}
