Skip to main content

CardHeader

Function CardHeader 

Source
pub fn CardHeader(_: CardHeaderProps) -> Element
Expand description

Renders the card’s header region, placing an optional CardAction in its own column.

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

§Examples

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

§Props

For details, see the props struct definition.