1. Context Components
  2. Badges

Use a badge beside a heading or sentence when a short label helps readers scan it. Badges are labels, not buttons or links.

​
Example

Available Beta Deprecated Planned
<Badge color="green" icon="check">Available</Badge>
<Badge color="blue" shape="pill">Beta</Badge>
<Badge color="red" stroke>Deprecated</Badge>
<Badge disabled>Planned</Badge>

​
Properties

PropertyDefaultPurpose
childrenNoneLabel text.
colorgraygray, blue, green, yellow, orange, red, purple, white, surface, white-destructive, or surface-destructive. Unrecognized values use gray; this is not a hex-color prop.
sizemdxs, sm, md, or lg.
shaperoundedrounded or pill.
iconNoneNamed Font Awesome icon.
iconTypeRenderer defaultFont Awesome icon style.
strokefalseTransparent background with a colored border.
disabledfalseReduced opacity; does not enforce a permission or disable another control.

​
Desktop example

Available, Beta, Deprecated and Planned badge examples

Use compact labels to distinguish availability and status.