Documentation
Description
A simple informational card with a title, body text, and optional footer.
Demonstrates:
- Inheriting from an abstract component
- BoolParam for a toggle flag
- A nested subfolder layout (components/card/)
Example usage::
{% info_card "Getting started" "Read the quickstart guide." %}
{% info_card "Tips" "Use keyword args for clarity." show_footer=True %}
Usage
Qualified tag usage
{% cards__info_card "foo" "bar" %}
Parameters
| Name | Type | Required | Default | Choices | Description |
|---|---|---|---|---|---|
title
|
str
|
Yes | — | — | The card heading. |
body
|
str
|
Yes | — | — | The card body text. |
show_footer
|
bool
|
No | — | — | Show a decorative footer rule. |
Sandbox