Pills are used to highlight number of items.
Pills are used to highlight number of items. For status and text, use a Badge.
Solid Pills are used to highlight number of items in reference to a particular component so that the component gets recognized easily. eg Pill over the notification icon.
Subtle Pills are used when many pills are used in reference to a group of components. In that case, solid pills become a bit overwhelming. eg Pills in vertical navigation items.
A pill comes in 9 appearances.
Property | Value(s) | Default value |
---|---|---|
Appearance | Stone | |
Subtle (optional) | - | |
Max width | 160px | - |
Corner radius | 20px | - |
Padding (top, right, bottom, left) | 2px, 6px, 2px, 6px | - |
Pills are used to display count of entities while badges are used for tagging entities.