# Card
> A bordered container with header, content and footer parts.
Source: https://native.shellui.dev/docs/components/layout/card
## Installation
```bash
shellui-native add card
```
**Platforms:** MAUI ยท Avalonia. Also installs `card-header`, `card-content`, `card-footer`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=card-basic)
## MAUI and Avalonia
- `Variant` (`Default`, `Outline`, `Ghost`, `Elevated`) and `IsPressable` work the same on both.
- On Avalonia the XAML children of `Card` are collected in `Items`.
## API
### Card
XAML children go to `Items` on Avalonia and `CardContent` on MAUI.
| Property | Type | Default | Description |
|---|---|---|---|
| `Variant` | `CardVariant` | `Default` | `Default`, `Outline`, `Ghost` or `Elevated`. One of `Default`, `Elevated`. |
| `IsPressable` | `bool` | `false` | Reacts to hover and press, and raises `Clicked`. |
| Event | Arguments | Description |
|---|---|---|
| `Clicked` | โ | Clicked or tapped (or Enter / Space with keyboard focus). |
### CardHeader
| Property | Type | Default | Description |
|---|---|---|---|
| `Title` | `string` | โ | Heading text. |
| `Description` | `string` | โ | Supporting text under the title. |
### CardContent
No properties of its own.
### CardFooter
XAML children go to `FooterContent`.
No properties of its own.