Rating in Figma

Stars for giving a score, or showing one.

Rating is a row of five stars. People give a score by clicking a star or using the arrow keys; read only, it shows an average next to the number and the count of reviews. Half stars show averages like 4.5, and can be turned on for picking too.

Do

  • Show the average as a number next to the stars.
  • Show how many reviews the average comes from.
  • Use read only for averages; people can't change them.
  • Ask one clear question above stars people give, like How was your stay?

Don't

  • Use stars for a number of things, like 3 items; use a Badge or text.
  • Change the number of stars between screens.
  • Use colour alone; the number tells the score to everyone.
  • Put two ratings people give close together without labels.

Code and examples