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

# decorationImage

Displays images inside of other elements.

## Overview

The `decorationImage` element contains a link to an image that is displayed. Here’s
an example that displays a chevron image.

```xml
<decorationImage src="resource://list-chevron" />
```

### Contained In

- [listItemLockup](/documentation/TVML/listitemlockup)

## Topics

### Valid TVML Styles

[margin](/documentation/TVML/margin)

Specifies the spacing around an element.

### Valid TVML Attributes

[contentsMode](/documentation/TVML/contentsmode)

Specifies how an image is expanded to fill its containing element.

[src](/documentation/TVML/src)

Specifies the URL for an image.

[srcset](/documentation/TVML/srcset)

Specifies multiple URLs for an image.

[binding](/documentation/TVML/binding)

Associates information in a data item with an element.

[prototype](/documentation/TVML/prototype)

Associates a data item type with an element.

[theme](/documentation/TVML/theme)

Sets the color scheme for an element.



---

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)