Kinda Code
Home/HTML & CSS/How to Create Circle Buttons with Tailwind CSS

How to Create Circle Buttons with Tailwind CSS

Last updated: March 03, 2023

To create a circle button with TailwindCSS, first, create a button with equal width and height (square), then use the rounded-full utility like this:

<div class="p-10">
        <button class="w-72 h-72 rounded-full 
                       bg-blue-500 hover:bg-red-500 text-white">
            Button
        </button>
</div>

Screenshot:

Further reading:

You can also check out our CSS category page for the latest tutorials and examples.