Pill

Also known as

Tag, Chip, Badge
Available since
@salt-ds/core@1.14.0

Pill is a small visual element that can contain descriptive text and an icon. You can use pills to label, filter or sort interactive content, trigger actions or make selections.

Density
Mode

You'll typically use the default pill for tagging purposes or to filter or change the page view. You can also use pills to trigger an action subject to change as a result of user input or a change in context, such as an autogenerated quick response to a message.