buttonsBeginnerhover
Button — Pill
Pill-shaped button with rounded ends.
Claude prompt
Drop this into Claude Code, claude.ai, or your AI tool of choice to regenerate or remix this component from scratch.
Build a pill-shaped button with Tailwind: full rounded ends, solid fill, white text. Hover invert (transparent bg + colored text + colored border).
Code
html
<!--
Source: Mark Mead (HyperUI)
https://github.com/markmead/hyperui/blob/d09f638255d00e91e95f3cabea4f1d385356dd70/public/examples/marketing/buttons/4.html
License: MIT
Surfaced via https://vibedex.io/components/hyperui-button-4
-->
<div class="bg-white text-gray-900 min-h-screen flex items-center justify-center">
<div class="flex flex-wrap justify-center gap-4 p-6 w-full">
<a
class="inline-block rounded-full border border-indigo-600 bg-indigo-600 p-3 text-white hover:bg-transparent hover:text-indigo-600"
href="#"
>
<span class="sr-only"> Download </span>
<svg
class="size-5 rtl:rotate-180"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M14 5l7 7m0 0l-7 7m7-7H3"
/>
</svg>
</a>
<a
class="inline-block rounded-full border border-indigo-600 p-3 text-indigo-600 hover:bg-indigo-600 hover:text-white"
href="#"
>
<span class="sr-only"> Download </span>
<svg
class="size-5 rtl:rotate-180"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M14 5l7 7m0 0l-7 7m7-7H3"
/>
</svg>
</a>
</div>
</div>