{
  "id": "skeleton-chat",
  "name": "Skeleton Chat",
  "category": "loaders",
  "tags": [
    "placeholder",
    "messages",
    "bubbles",
    "conversation",
    "pulse"
  ],
  "description": "Chat bubble placeholders for incoming and outgoing messages that pulse while a thread loads.",
  "url": "https://copy-css.com/snippets/skeleton-chat",
  "markdown": "https://copy-css.com/snippets/skeleton-chat.md",
  "html": "<div class=\"skel-chat\" role=\"status\" aria-label=\"Loading messages\">\n  <div class=\"skel-chat-msg\"></div>\n  <div class=\"skel-chat-msg skel-chat-wide\"></div>\n  <div class=\"skel-chat-msg skel-chat-me\"></div>\n  <div class=\"skel-chat-msg\"></div>\n</div>",
  "css": ".skel-chat {\n  display: grid;\n  gap: 10px;\n  width: min(100%, 280px);\n}\n\n.skel-chat-msg {\n  width: 55%;\n  height: 34px;\n  border-radius: 18px 18px 18px 4px;\n  background: #e5e7eb;\n  animation: skel-chat-pulse 1.4s ease-in-out infinite;\n}\n\n.skel-chat-wide {\n  width: 75%;\n  height: 52px;\n  animation-delay: 0.15s;\n}\n\n/* Outgoing message */\n.skel-chat-me {\n  justify-self: end;\n  width: 45%;\n  border-radius: 18px 18px 4px 18px;\n  background: #c7d2fe;\n  animation-delay: 0.3s;\n}\n\n.skel-chat-msg:last-child {\n  width: 35%;\n  animation-delay: 0.45s;\n}\n\n@keyframes skel-chat-pulse {\n  50% { opacity: 0.45; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .skel-chat-msg { animation: none; }\n}",
  "features": [
    "keyframe animations",
    "CSS Grid",
    "reduced-motion support"
  ],
  "customProperties": []
}
