Pill
<ns-pill> Overview
A small coloured highlight which can be used to visually draw a customer's attention to a piece of information.
Examples
Guidance
Implementation
Placement
The ns-pill component can be used in the following components:
<ns-card><ns-selector><ns-landmark>
Specification
Attributes
colour
- Property
colour- Description
- The colour of the pill.
- Type
cyanlimenavyforestslateorangeredyellow- Default
slate
icon
- Property
icon- Description
- The name of the icon to be displayed.
- Type
string- Default
type
- Property
type- Type
string- Default
standard
Slots
| Slot | Permitted tags | Description |
|---|---|---|
| Anonymous slot | Anonymous slot for content. |