Pill
Description
A pill-shaped label, typically used for tags or categories.
Demonstrates the single-file components.py discovery pattern: define
all components for an app in one file instead of a components/ package.
Example usage:
{% pill "Python" %}
{% pill "Django" %}
Usage
Minimal example
{% pill "foo" %}
Qualified tag usage
{% demo_single__pill "foo" %}
Parameters
| Name | Type | Requirement | Default | Choices | Description |
|---|---|---|---|---|---|
text
|
str
|
Required | — | — | The pill text. |