{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"html-css-arrow-link-button-with-sliding-underline","type":"registry:component","title":"HTML CSS Arrow Link Button With Sliding Underline","description":"","dependencies":[],"files":[{"path":"components/we-inc/html-css-arrow-link-button-with-sliding-underline.tsx","type":"registry:component","content":"// Text links styled as buttons: an underline that grows from the left and an arrow that slides on hover or focus.\nconst links = [\n  { label: \"Read the full menu\", note: \"Spring, twelve dishes\" },\n  { label: \"Book a table for Friday\", note: \"Two seatings left\" },\n  { label: \"Private dining enquiries\", note: \"Up to 24 guests\" },\n];\n\nexport default function HtmlCssArrowLinkButtonWithSlidingUnderline() {\n  return (\n    <section className=\"bg-amber-50 px-5 py-14\">\n      <div className=\"mx-auto max-w-2xl\">\n        <p className=\"font-serif text-sm italic text-amber-800\">Osteria Lume</p>\n        <h2 className=\"mt-1 font-serif text-3xl text-stone-900\">Seasonal cooking on Wharf Lane</h2>\n        <ul className=\"mt-8 divide-y divide-amber-200 border-y border-amber-200\">\n          {links.map((l) => (\n            <li key={l.label}>\n              <a href=\"#\" className=\"group flex min-h-[64px] items-center justify-between gap-4 py-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-amber-700 focus-visible:ring-offset-4 focus-visible:ring-offset-amber-50\">\n                <span>\n                  <span className=\"relative text-lg font-semibold text-stone-900\">\n                    {l.label}\n                    <span aria-hidden=\"true\" className=\"absolute -bottom-0.5 left-0 h-0.5 w-full origin-left scale-x-0 bg-amber-700 transition-transform duration-300 ease-out group-hover:scale-x-100 group-focus-visible:scale-x-100 motion-reduce:transition-none\" />\n                  </span>\n                  <span className=\"mt-0.5 block text-sm text-stone-600\">{l.note}</span>\n                </span>\n                <span aria-hidden=\"true\" className=\"grid h-10 w-10 shrink-0 place-items-center rounded-full border border-amber-300 text-amber-800 transition-colors group-hover:border-amber-700 group-hover:bg-amber-700 group-hover:text-white\">\n                  <svg viewBox=\"0 0 20 20\" width=\"18\" height=\"18\" className=\"fill-current transition-transform duration-300 group-hover:translate-x-0.5 motion-reduce:transition-none\">\n                    <path d=\"M11.3 4.3a1 1 0 0 1 1.4 0l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4L14.6 11H3a1 1 0 1 1 0-2h11.6l-3.3-3.3a1 1 0 0 1 0-1.4z\" />\n                  </svg>\n                </span>\n              </a>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  );\n}\n"}]}
