rounded-es-xl: Tailwind CSS Border Radius class

The rounded-es-xl class in Tailwind CSS applies an extra-large (xl) border-radius to the end-start corner of an element.


rounded-es-xl

The rounded-es-xl class in Tailwind CSS applies an extra-large (xl) border-radius to the end-start corner of an element. In left-to-right (LTR) layouts, this targets the top-right corner; in right-to-left (RTL) layouts, it applies to the top-left corner. This utility is part of Tailwind’s logical corner system that adapts to text direction automatically.

Syntax

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

Example Code

html
<div class="bg-teal-600 text-white font-semibold p-4 rounded-es-xl">
This element has an extra-large radius on the top-end corner.
</div>

Preview

This element has an extra-large radius on the top-end corner.

Use rounded-es-xl when you want to apply a large radius to the top corner on the end-start side, in a layout-aware way. It’s great for components like cards, panels, or buttons with dynamic direction support.

How to Use

Add the rounded-es-xl class directly to your HTML element:

html
<div class="rounded-es-xl">
<!-- Your content here -->
</div>

Responsive Usage

Use Tailwind's responsive prefixes to apply rounded-es-xl at specific breakpoints:

html
<div class="sm:rounded-es-xl md:rounded-es-xl lg:rounded-es-xl">
Responsive element
</div>
  • sm:rounded-es-xl — applies from 640px and up
  • md:rounded-es-xl — applies from 768px and up
  • lg:rounded-es-xl — applies from 1024px and up

Customization

You can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.

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