{
  "id": "clay-button",
  "name": "Clay Button",
  "category": "buttons",
  "tags": [
    "claymorphism",
    "clay",
    "3d",
    "soft",
    "puffy",
    "inset"
  ],
  "description": "A puffy claymorphism button made from inner highlights, inner shade and a soft drop shadow.",
  "url": "https://copy-css.com/snippets/clay-button",
  "markdown": "https://copy-css.com/snippets/clay-button.md",
  "html": "<button class=\"btn-clay\">Let’s play</button>",
  "css": ".btn-clay {\n  padding: 16px 34px;\n  border: 0;\n  border-radius: 20px;\n  background: #a78bfa;\n  color: #fff;\n  font: 700 16px/1 system-ui, sans-serif;\n  text-shadow: 0 1px 1px rgba(76, 29, 149, 0.4);\n  box-shadow:\n    inset 0 -6px 10px rgba(76, 29, 149, 0.35),\n    inset 0 6px 10px rgba(255, 255, 255, 0.45),\n    0 12px 24px -8px rgba(124, 58, 237, 0.55);\n  cursor: pointer;\n  transition: transform 0.15s ease, box-shadow 0.15s ease;\n}\n\n.btn-clay:hover {\n  transform: translateY(-2px);\n  box-shadow:\n    inset 0 -6px 10px rgba(76, 29, 149, 0.35),\n    inset 0 6px 10px rgba(255, 255, 255, 0.45),\n    0 16px 30px -8px rgba(124, 58, 237, 0.6);\n}\n\n.btn-clay:active {\n  transform: translateY(1px) scale(0.98);\n  box-shadow:\n    inset 0 -3px 8px rgba(76, 29, 149, 0.35),\n    inset 0 4px 8px rgba(255, 255, 255, 0.4),\n    0 6px 12px -6px rgba(124, 58, 237, 0.5);\n}\n\n.btn-clay:focus-visible {\n  outline: 2px solid #7c3aed;\n  outline-offset: 3px;\n}",
  "features": [
    "transitions",
    "transforms",
    "box shadows",
    "text shadows",
    "keyboard focus styles"
  ],
  "customProperties": []
}
