Skip to main content

CardTitle

Function CardTitle 

Source
pub fn CardTitle(_: CardTitleProps) -> Element
Expand description

Renders the card’s title text with the official heading weight and line height.

  • Complexity: O(attributes + children) render work.

§Examples

use adam_web_ui::components::card::CardTitle;
use dioxus::prelude::*;
fn app() -> Element {
    rsx! { CardTitle { "Title" } }
}

§Props

For details, see the props struct definition.