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

Get now

rounded-sm: Tailwind CSS Border Radius class

The rounded-sm class in Tailwind CSS applies a small border-radius (0.125rem or 2px) to all four corners of an element.


rounded-sm

The rounded-sm class in Tailwind CSS applies a small border-radius (0.125rem or 2px) to all four corners of an element. It gives elements slightly rounded corners—subtle, but enough to soften hard edges without being too prominent.

Syntax

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

Example Code

html
<button class="bg-indigo-600 text-white px-4 py-2 rounded-sm">
Small Rounded Button
</button>

Preview

This adds just a touch of roundness to the button, making it look slightly smoother than a sharp-cornered box.

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