Description
Feature Introduction
This rule package provides references for the horizontal spacing between stars in the five-pointed star rating component, the width-to-height ratio of the stars, and the grayscale difference between unselected and selected stars. It includes independent parameter files for three star sizes (16px, 20px, 24px), each with display boundary parameters for whole stars and half stars.
Applicable Scenarios
Suitable for areas requiring star ratings, such as product review sections, service rating columns, and user feedback collection. The visual proportion of the rating component can be controlled by switching the size files.
Deliverables
The ZIP archive contains:
stars_16px.json (16px star parameters)
stars_20px.json (20px star parameters)
stars_24px.json (24px star parameters)
star_gap.txt (horizontal star spacing values)
half_star_threshold.txt (half-star display boundary parameters)







