Form Pill

Form Pill User


Form Pill Size


Truncated Text


For pills with longer text, the truncate global prop can be used to truncate the label within each Form Pill. See here for more information on the truncate global prop.

Form Pill Tag


Example


By default textTransform = "none". If there is a need to enforce lowercase, please pass the textTransform = "lowercase prop.

Form Pill Icon


Form Pill Colors


The Status, Data, and Product colors highlighted above can be passed to the color prop. Primary is the default color. Form pills with a text tag, an avatar, or an icon with text tag can all receive the color prop.


Available Props