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

Get now

rounded-lg: Tailwind CSS Border Radius class

The rounded-lg class in Tailwind CSS applies a large border-radius to all four corners of an element.


rounded-lg

The rounded-lg class in Tailwind CSS applies a large border-radius to all four corners of an element. It's useful when you want smoother, more pronounced rounding for buttons, cards, containers, or UI elements.

Syntax

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

Example Code

html
<div class="bg-white p-6 rounded-lg shadow">
This card has large, smooth rounded corners.
</div>

Preview

This card has large, smooth rounded corners.

Use rounded-lg when you want a visibly rounded look for all corners of an element. It's great for modern UIs where smooth, clean edges improve visual polish and user experience.

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites! 

Build from scratch or select prebuilt tailwind templates