Example Component Library
Demo Components
Card
Layouts Hero
Info card Slotted card
Alert Badge Button Quote oneup Rich button User card
Demo Extra Button
Demo Nav
Cards Info card
Elements Quote oneup Badge
Icon Accessibility
Generic Divider Tooltip
Action button Design guidelines
Demo Single Chip Pill
Gallery / Demo Components / Rich button Gallery / / Rich button
Demo Components /
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

Minimal example

{% rich_button "foo" %}

Bigger example

{% rich_button "foo" ghost=True %}

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