pub fn Card(_: CardProps) -> ElementExpand description
Renders the card surface, grouping its children inside a bordered, rounded container.
- Complexity: O(attributes + children) render work.
§Examples
use adam_web_ui::components::card::{Card, CardContent};
use dioxus::prelude::*;
fn app() -> Element {
rsx! { Card { CardContent { "Body" } } }
}§Props
For details, see the props struct definition.
attributes:Vec<Attribute>children:Element