Rich button
Description
A button with an explicit Media class alongside a co-located CSS file.
Demonstrates that auto-discovered media (the rich_button.css file next
to this module) and explicitly declared Media.css entries are merged
rather than one suppressing the other.
Example usage:
{% rich_button "Submit form" %}
{% rich_button "Cancel" ghost=True %}
Usage
Minimal example
{% rich_button "foo" %}
All parameters
{% rich_button "foo" ghost=True %}
Qualified tag usage
{% ui__rich_button "foo" %}
Parameters
| Name | Type | Requirement | Default | Choices | Description |
|---|---|---|---|---|---|
label
|
str
|
Required | — | — | The button label. |
ghost
|
bool
|
Optional | — | — | Renders as a ghost (outline-only) button. |