Badge

Just a badge component, with colors.

Default badge
Attribute Type Documentation Default Value
id :string
Required text * :string Badge label
theme :atom Component library theme :default
color :atom One color among a small set. :default
hex_color :string Custom HEX color. Overrides :color attribute.
small :boolean When true, renders a smaller badge. false
icon :string Prepends an icon to the badge. Use it with FontAwesome classes.
rest :global Any HTML attribute.