Expand description
Card Component
Card container styled like shadcn/ui Card. A surface for displaying grouped content with consistent styling.
§Variants
- Filled: Muted background, no border
- Outlined: Card background with border (shadcn default)
- Elevated: Card background with shadow effect
§Example
use armas_basic::{Card, CardVariant};
fn show_cards(ui: &mut egui::Ui) {
// Outlined card (shadcn default)
Card::new()
.variant(CardVariant::Outlined)
.title("Card Title")
.show(ui, |ui| {
ui.label("Content goes here");
});
}Structs§
- Card
- Card component styled like shadcn/ui
- Card
Response - Response from showing a card
Enums§
- Card
Variant - Card variant (shadcn/ui style)