Description
Feature Introduction
This configuration set provides the four corner offsets (top left, top right, bottom left, bottom right) of badges (such as quantity badges and status labels) relative to their attached elements, as well as the inner padding values between the badge’s text and the edges. It includes separate parameter files for small, medium, and large badge sizes, each with corresponding values for the badge’s rounded corner radius.
Applicable Scenarios
Suitable for areas requiring small floating icons, such as quantity indicators on shopping cart icons, unread message counts in the message center, and product status badges. The overall size of the badge can be adjusted by selecting the appropriate size file.
Deliverables
The ZIP archive contains:
badge_small.json (small badge parameters)
badge_medium.json (medium badge parameters)
badge_large.json (large badge parameters)
offset_positions.txt (four corner offset value table)
inner_padding.txt (text inner padding reference)







