Components
Small labels that help qualify information.
Version: | 14.18.2 •View source•Changelog•Report issue | |
---|---|---|
Install: | yarn add @thumbtack/thumbprint-react | |
Import: | import { Pill } from '@thumbtack/thumbprint-react'; |
children
Text content to render.
string
icon
“Tiny” size icon to render.
React.ReactNode
color
Color of the pill text and background.
This prop can be one of the following 6 types:
'green'
'red'
'indigo'
'blue'
'yellow'
'purple'