Rust UI component that displays a card with header, content and footer.
card
- Copy Demo
Card Title
Hello, this is a more detailed description of the card content. You can add more text here to provide additional information about the card's purpose, features, or any other relevant details that might interest the viewer.
Installation
You can run either of the following commands:
# cargo install ui-cli --forceui add demo_cardui add card
Update the imports to match your project setup.
Usage
use crate::components::ui::card::{
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
};
<Card>
<CardHeader>
<CardTitle>"Card Title"</CardTitle>
<CardDescription>"Card Description"</CardDescription>
</CardHeader>
<CardContent>
<p>"Card Content"</p>
</CardContent>
<CardFooter>
<p>"Card Footer"</p>
</CardFooter>
</Card>
Examples
Card Group
- Copy Demo
No Icons Found
You were searching for Icons in Rust/UI but none of them was found. Sorry!
Go Back to Icons Page