# card

```ts
import { CardModule } from '@anguless/angulux/card';
```

## Card

`agl-card` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

Card is a flexible container component.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `header` | `string \| undefined` | _not documented_ | Header of the card. |
| `subheader` | `string \| undefined` | _not documented_ | Subheader of the card. |
| `style` | `` | _not documented_ | Inline style of the element. |
| `styleClass` | `string \| undefined` | _not documented_ | Class of the element. **Deprecated:** since v20.0.0, use `class` instead. |

| Slot | Read as | Description |
| --- | --- | --- |
| `<ng-template #header>` | `headerTemplate` | Custom header template. |
| `<ng-template #title>` | `titleTemplate` | Custom title template. |
| `<ng-template #subtitle>` | `subtitleTemplate` | Custom subtitle template. |
| `<ng-template #content>` | `contentTemplate` | Custom content template. |
| `<ng-template #footer>` | `footerTemplate` | Custom footer template. |
