Documentation
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
Qualified tag usage
{% demo_single__pill "foo" %}
Parameters
| Name | Type | Required | Default | Choices | Description |
|---|---|---|---|---|---|
text
|
str
|
Yes | — | — | The pill text. |
Sandbox