<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/border-radius",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "border-radius"
}
-->

# border-radius

Changes the shape of an element’s corner.

## Overview

Use the `border-radius` style to apply rounded corners to elements. Here’s an example
that changes the border radius of an `img` element.

```xml
<lockup>
   <img style="border-radius:12" src="path to image" width="250" height="376" />
   <title>Movie 1</title>
</lockup>
```

### Values for border-radius

- 4-tuple: An image whose corners are cropped to the specified radius.
- `circle`: An image that is cropped to fit inside of a circle.
- `large`: An image whose corners are cropped to create rounded corners with
  a large radius.
- `medium`: An images whose corners are cropped to create rounded corners with
  a medium radius.
- `small`: An images whose corners are cropped to create rounded corners with
  a small radius.

There are four ways to designate the border-radius style as a 4-tuple:

- `border-radius: X1 X2 X3 X4`—Where X1 is applied to the top-left corner, X2 is
  applied to the top-right corner, X3 is applied to the bottom-right corner, and X4
  is applied to the bottom-left corner.
- `border-radius: X1 X2 X3`—Where X1 is applied to the top-left corner, X2 is applied
  to the top-right and bottom-left corners, and X3 is applied to the bottom-right corner.
- `border-radius: X1 X2`—Where X1 is applied to the top-left and bottom-right corners,
  and X2 is applied to the top-right and bottom-left corners.
- `border-radius: X1`—Where X1 is applied to each corner.

### Elements that Use border-radius

- [card](/documentation/TVML/card)
- [heroImg](/documentation/TVML/heroimg)
- [img](/documentation/TVML/img)
- [monogram](/documentation/TVML/monogram)
- [ratingCard](/documentation/TVML/ratingcard)
- [reviewCard](/documentation/TVML/reviewcard)
- [textBadge](/documentation/TVML/textbadge)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)