Skip to main content

Card

Function Card 

Source
pub fn Card(props: CardProps) -> Element
Expand description

A card component for organizing content

This component provides a container with optional header and customizable shadow behavior for organizing related content.

§Example

use dioxus_element_plug::components::card::Card;

rsx! {
    Card {
        header: Some("Card Title".to_string()),
        shadow: "always".to_string(),
         
        div {
            "Card content goes here"
        }
    }
}