# ion-card-title

URL: https://ionicframework.com/docs/api/card-title

**Encapsulation**: [shadow](/docs/reference/glossary.md#shadow)

Card title is a child component of card that should be placed inside of a [card header](/docs/api/card-header.md).

Refer to the [Card](/docs/api/card.md) documentation for more information.

## Properties

### color

**Description**: The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics.md).

**Attribute**: `color`

**Type**: `"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string | undefined`

**Default**: `undefined`

### mode

**Description**: The mode determines which platform styles to use. This is a [virtual property](/docs/core-concepts/fundamentals.md#virtual-properties) that is set once during initialization and will not update if you change its value after the initial render.

**Attribute**: `mode`

**Type**: `"ios" | "md"`

**Default**: `undefined`

## Events

No events available for this component.

## Methods

No public methods available for this component.

## CSS Shadow Parts

No CSS shadow parts available for this component.

## CSS Custom Properties

**iOS**

| Name | Description |
| --- | --- |
| `--color` | Color of the card title |

**MD**

| Name | Description |
| --- | --- |
| `--color` | Color of the card title |

## Slots

| Name | Description |
| --- | --- |
|  | The default slot |
