View Source LightningWeb.Components.Pills (Lightning v2.11.1)
UI component to render a pill to create tags.
Summary
Functions
Renders a pill with a color.
Functions
Renders a pill with a color.
Example
<.pill color="red">
Red pill
</.pill>
## Colors
- `gray` **default**
- `red`
- `yellow`
- `green`
- `blue`
- `indigo`
- `purple`
- `pink`
## Attributes
* `color` (`:string`) - Defaults to `"gray"`.
* Global attributes are accepted.
## Slots
* `inner_block` (required)