Pill
Pill displays a number inside a badge-like element.
#Example
#Guidelines
#When to use
- Use as an alternative way of displaying a count of something.
#When not to use
- Avoid using pill inside a table cell. Prefer a "raw" text number instead.
#Content
- Must contain only numbers.
- Pill doesn't format numbers, so you'll have to handle it yourself.
#Props
Name | Default | Description |
---|
children | — | ReactNode Number. |