UIPill
Pill component
Since: 7.2.0 (7.0.0)
Name | Type | Default | Description |
text |
| Required - Text presented in pill | |
size |
|
| Size of the pill small|normal|large |
type |
|
| Type of pill look. See Available types for variations. |
icon |
| Icon name from style-guide. Example |
Example
type
Available types
The UIButton.props.type
has following variations:
Type dark
is used on buttons on dark background
Name |
default |
primary |
draft |
pending |
done |
warning |
alert |
brand |
dark |
light |
transparent |
outline |
black |
blur |
blur dark |
square default |
square primary |
square draft |
square pending |
square done |
square warning |
square alert |
square brand |
square dark |
square light |
square transparent |
square outline |
square black |
square blur |
square blur dark |
Last updated