Display content within a styled container, providing structure and visual hierarchy. The Card
component enhances user navigation and organizes information effectively by utilizing different elevation levels.
Usage
Import
import { Card, CardBody, CardHeader, CardTitle } from '@passfort/castle'content_copyCopy
Structure
Organize content within the Card using CardHeader, CardTitle, and CardBody for a clear and consistent layout.
content_copyCopy
live example
Level
Use the level prop to adjust the elevation of the card, affecting its shadow and depth appearance. This helps in distinguishing between different sections or importance levels within the application.
content_copyCopy
live example