Shiny for Python (dev version)
  • Express API
  • Core API
  • Testing API

On this page

  • express.ui.card_footer
    • Parameters
    • Examples
  • Report an issue

express.ui.card_footer

express.ui.card_footer(*args, **kwargs)

Context manager for a card footer container

This function wraps card_footer.

A general container for the "footer" of a card. This component is designed to be provided as a direct child to card.

The footer has a different background color and border than the rest of the card.

Parameters

*args : TagChild | TagAttrs = ()

Contents to the footer container. Or tag attributes that are supplied to the resolved Tag object.

****kwargs** : TagAttrValue = {}

Additional HTML attributes for the returned Tag.

Examples

#| standalone: true
#| components: [editor, viewer]
#| layout: vertical
#| viewerHeight: 400

## file: app.py
from shiny.express import ui

with ui.card(full_screen=True):
    ui.card_header("This is the header")
    ui.p("This is the body.")
    ui.p("This is still the body.")
    ui.card_footer("This is the footer")

  • Report an issue