Pill
Pill component for rendering a pill-shaped UI element with an optional icon and a coloured background. Uses Colour_palette for managing colours.
Colour_palette
type t = {
label : string;
icon : Icon.t option;
colour : Colour_palette.t;
}
val render : t -> [> Html_types.div ] Tyxml.Html.elt