A star alternates between outer tips and inner vertices. It is a familiar silhouette for anything from rating marks to sparkle badges, making an emphasis easy to recognize.
`sides` sets the number of star points from 3 to 12. `radius` measures the distance to the outer tips from 0 to 1, while `innerRatio` sets the inner-vertex radius as a proportion from 0.1 to 0.9. `rotation` changes the orientation from 0 to 360 degrees.
A lower `innerRatio` makes deeper notches; a higher value makes the star fuller. The points can look crowded in a tiny badge, so give the shape enough size and contrast, and compare its silhouette alongside `Polygon`.
When to use
Use it for visible accents such as favorites, ratings, and promotion badges. It also works for star-shaped decoration or repeating patterns. Avoid it in UI where the points will not read at a very small size.