Documentation
Description
A button that declares 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
Qualified tag usage
{% ui__rich_button "foo" %}
Parameters
| Name | Type | Required | Default | Choices | Description |
|---|---|---|---|---|---|
label
|
str
|
Yes | — | — | The button label. |
ghost
|
bool
|
No | — | — | Renders as a ghost (outline-only) button. |
Sandbox