---
title: ratingBadge
framework: tvml
role: collectionGroup
path: tvml/ratingbadge
---

# ratingBadge

Displays an image used to rate a product.

## Overview

Overview The ratingBadge element contains a link to an image that is to be displayed. This element is commonly used to display a small image inside of a reviewCard element. Here’s an example of a review with a fresh rating from Rotten Tomatoes. <reviewCard>     <breviewBadge src="resource://tomato-fresh-m" />     <title>WWDC Review</title>     <description>Brief review here</description>     <text>Ravi Patel June, 8 2015</text> </reviewCard> Contained In organizer ratingCard reviewCard

## Topics

### Valid TVML Styles

- [margin](tvml/margin.md)
- [tv-rating-style](tvml/tv-rating-style.md)
- [tv-tint-color](tvml/tv-tint-color.md)

### Valid TVML Attributes

- [binding](tvml/binding.md)
- [prototype](tvml/prototype.md)
- [theme](tvml/theme.md)
- [value](tvml/value.md)

## See Also

### Badge Elements

- [badge](tvml/badge.md)
- [seasonBadge](tvml/seasonbadge.md)
- [textBadge](tvml/textbadge.md)
