Check out our free templates made with AI and polished to perfection in Windframe

Get now

rounded-xl: Tailwind CSS Border Radius class

The rounded-xl class in Tailwind CSS applies an extra-large border radius to all corners of an element.


rounded-xl

The rounded-xl class in Tailwind CSS applies an extra-large border radius to all corners of an element. It’s useful when you want a softer, more rounded look—often used in cards, buttons, and containers for a modern UI feel.

Syntax

html
<div class="rounded-xl">...</div>

Example Code

html
<div class="bg-gray-50 p-6 rounded-xl shadow">
Extra-large rounded corners make this box look smooth.
</div>

Preview

Extra-large rounded corners make this box look smooth.

Use rounded-xl when you want a more noticeably curved edge across all corners. It helps create a soft, approachable look and is a great choice for UI components that need visual emphasis without being too bold.

Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates