{
  "id": "dashed-add-button",
  "name": "Dashed Add Button",
  "category": "buttons",
  "tags": [
    "dashed border",
    "plus",
    "empty state",
    "new item",
    "placeholder"
  ],
  "description": "A wide dashed placeholder button for adding a new item to a list, board or empty state.",
  "url": "https://copy-css.com/snippets/dashed-add-button",
  "markdown": "https://copy-css.com/snippets/dashed-add-button.md",
  "html": "<button class=\"btn-dashed\">\n  <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 5v14M5 12h14\"/></svg>\n  Add new card\n</button>",
  "css": ".btn-dashed {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  width: 260px;\n  padding: 18px;\n  border: 2px dashed #cbd5e1;\n  border-radius: 14px;\n  background: transparent;\n  color: #475569;\n  font: 600 15px/1 system-ui, sans-serif;\n  cursor: pointer;\n  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;\n}\n\n.btn-dashed svg {\n  width: 18px;\n  height: 18px;\n  fill: none;\n  stroke: currentColor;\n  stroke-width: 2.4;\n  stroke-linecap: round;\n}\n\n.btn-dashed:hover {\n  border-color: #6366f1;\n  background: #eef2ff;\n  color: #4338ca;\n}\n\n.btn-dashed:focus-visible {\n  outline: 2px solid #6366f1;\n  outline-offset: 3px;\n}",
  "features": [
    "transitions",
    "Flexbox",
    "keyboard focus styles"
  ],
  "customProperties": []
}
