{
  "id": "striped-processing-button",
  "name": "Striped Processing Button",
  "category": "buttons",
  "tags": [
    "barber pole",
    "pending",
    "busy",
    "payment",
    "animated stripes"
  ],
  "description": "A button with moving diagonal stripes that signal a payment or task is still processing.",
  "url": "https://copy-css.com/snippets/striped-processing-button",
  "markdown": "https://copy-css.com/snippets/striped-processing-button.md",
  "html": "<button class=\"btn-stripes\" aria-busy=\"true\">Processing payment…</button>",
  "css": ".btn-stripes {\n  padding: 14px 28px;\n  border: 0;\n  border-radius: 10px;\n  background-color: #6d28d9;\n  color: #fff;\n  font: 600 16px/1 system-ui, sans-serif;\n  cursor: pointer;\n}\n\n.btn-stripes[aria-busy=\"true\"] {\n  background-image: linear-gradient(\n    -45deg,\n    #7c3aed 25%, #6d28d9 25% 50%,\n    #7c3aed 50% 75%, #6d28d9 75%\n  );\n  background-size: 32px 32px;\n  cursor: progress;\n  animation: btn-stripes-move 0.8s linear infinite;\n}\n\n.btn-stripes:focus-visible {\n  outline: 3px solid #a78bfa;\n  outline-offset: 3px;\n}\n\n@keyframes btn-stripes-move {\n  to { background-position: 32px 0; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .btn-stripes[aria-busy=\"true\"] { animation: none; }\n}",
  "features": [
    "keyframe animations",
    "linear gradients",
    "keyboard focus styles",
    "reduced-motion support"
  ],
  "customProperties": []
}
