Skip to content

General

render_card_with_heading(heading, *children, width='100%', align='stretch', **props)

Creates a card with a header part that has a background color.


heading: Heading to put in the card (string or component)
*children: Children to put in the card (will be put in a vstack)
flex: flex property to use in the card
width: width of card
align: Align to use in the item vstack
**props: Additional props to pass to the card

render_dialog_with_heading(heading, content)

render_info_item(label, value, base_width='10em')

Creates basic label and value pairs for use in information displays.

render_page_heading(title)