A customizable view more dots button component built with Tailwind CSS.
To use this component in your project, copy the code and paste it into your HTML file. You can customize the component by modifying the Tailwind CSS classes.
<div
class="group relative flex size-10 items-center justify-center gap-1 rounded-lg border border-white"
>
<div
class="size-1 rounded-full bg-white duration-300 group-hover:opacity-0"
></div>
<div
class="relative size-1 origin-center rounded-full bg-white duration-300 before:absolute before:right-[2px] before:h-1 before:origin-right before:rounded-full before:bg-white before:delay-300 before:duration-300 after:absolute after:right-[2px] after:h-1 after:origin-right after:rounded-full after:bg-white after:delay-300 after:duration-300 group-hover:w-6 group-hover:before:w-3.5 group-hover:before:-rotate-45 group-hover:after:w-3.5 group-hover:after:rotate-45"
></div>
<div
class="size-1 rounded-full bg-white duration-300 group-hover:opacity-0"
></div>
</div>This component is fully responsive and adapts to different screen sizes. Use the viewport controls above to preview how it looks on different devices.
Optimized for screens smaller than 640px
Optimized for screens between 640px and 1024px
Optimized for screens larger than 1024px