Just a badge component, with colors.
<.badge text="Default badge" data-foo="bar" qix={42}/>
<.badge text="Predefined color" color={:info}/> <.badge text="Predefined color" color={:primary}/> <.badge text="Predefined color" color={:success}/> <.badge text="Predefined color" color={:warning}/> <.badge text="Predefined color" color={:danger}/>
<.badge text="Same but small" small color={:info}/> <.badge text="Same but small" small color={:primary}/> <.badge text="Same but small" small color={:success}/> <.badge text="Same but small" small color={:warning}/> <.badge text="Same but small" small color={:danger}/>
<.badge text="Custom color" hex_color="#FC08CB"/> <.badge text="Custom color" hex_color="#996CC0"/> <.badge text="Custom color" hex_color="#7CACDD"/>
<.badge text="fa fa-alicorn" icon="fa fa-alicorn"/> <.badge text="fa fa-bolt" icon="fa fa-bolt"/> <.badge text="fas fa-skull" icon="fas fa-skull"/>
<.badge text="fa fa-alicorn" small icon="fa fa-alicorn"/> <.badge text="fa fa-bolt" small icon="fa fa-bolt"/> <.badge text="fas fa-skull" small icon="fas fa-skull"/>