Rating
Rating Overview
The Rating component is a visible component which can be used to display the rating of a product or content in your app, and allow the user to leave their own rating.
A Rating component is made up of 5-10 icons. An icon can be filled, partially filled, or empty, as seen below:
Properties
Rating
There are two ways to set an Image for your Rating component:
Select from Menu
Thunkable provides a menu of pre-set icons from Expo that you can choose from. Preview these icons here.
Custom Image
If you set the Image property to Custom Image, you will be able use your own images as icons for the Rating component.
Selecting Custom Image will show two new properties:
You can upload your images as assets to your project, or provide URLs that point to your chosen images.
These URLs must end in a file extension, such as .jpg or .png.
Layout
Blocks
Events
On Rate
This block fires when a user enters a rating in the Rating component.
Properties
Set and get properties of the Rating component
Count
Direction
Select how the Rating component is displayed: as a row (left-right), row-reverse (right-left), column (top-bottom), or column-reverse (bottom-top).
Font Size
Change the size of the icons that make up the Rating component.
Height
Icon Margin
Get or change the size of the margin between the icons of the Rating component.
Icon
You can select an image from the list available. All of the image options are suitable for any platform. You can preview the image options here.
You can upload your own images to be displayed for filled and empty icons.
Read Only
Rating Background Color
Rating Color
Value
Visible
Width
X
Y
Last updated