Example Component Library
Broken components Broken button Broken quote
Demo Components
Cards (No Flattening)
Layouts
Hero
Info card
Slotted card
Product Pricing Card Dashboard Grid Showcase
Rich button Svg icon User card
Button
Destructive Action Disabled State Dark Theme Preview Dialog Action Layout
Badge
System Status Indicator Dynamic Unread Counter
Alert
Security Outage Alert Dismissible Notification Shell
Quote oneup
Hero Editorial Callout
Promoted App Demo Demo
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
{% rich_button "foo" %}
<button class='rich-btn '>foo</button>