{
  "id": "text-link-button",
  "name": "Text Link Button",
  "category": "buttons",
  "tags": [
    "tertiary",
    "underline",
    "minimal",
    "arrow",
    "subtle"
  ],
  "description": "A minimal tertiary button styled like a link, with an underline that tightens and an arrow that nudges.",
  "url": "https://copy-css.com/snippets/text-link-button",
  "markdown": "https://copy-css.com/snippets/text-link-button.md",
  "html": "<button class=\"btn-text\">View all projects <span aria-hidden=\"true\">→</span></button>",
  "css": ".btn-text {\n  padding: 6px 2px;\n  border: 0;\n  background: none;\n  color: #4338ca;\n  font: 600 16px/1.3 system-ui, sans-serif;\n  text-decoration: underline;\n  text-decoration-color: #c7d2fe;\n  text-decoration-thickness: 2px;\n  text-underline-offset: 6px;\n  cursor: pointer;\n  transition: text-decoration-color 0.2s ease, text-underline-offset 0.2s ease;\n}\n\n.btn-text span {\n  display: inline-block;\n  transition: transform 0.2s ease;\n}\n\n.btn-text:hover {\n  text-decoration-color: currentColor;\n  text-underline-offset: 3px;\n}\n\n.btn-text:hover span {\n  transform: translateX(4px);\n}\n\n.btn-text:focus-visible {\n  border-radius: 4px;\n  outline: 2px solid #4338ca;\n  outline-offset: 2px;\n}",
  "features": [
    "transitions",
    "transforms",
    "keyboard focus styles"
  ],
  "customProperties": []
}
