2019-03-02 15:51:08 +08:00
---
category: Components
type: Navigation
title: PageHeader
cols: 1
subtitle:
---
2019-10-28 09:09:22 +08:00
A header with common actions and design elements built in.
2019-03-02 15:51:08 +08:00
## When To Use
2019-10-28 09:09:22 +08:00
PageHeader can be used to highlight the page topic, display important information about the page, and carry the action items related to the current page (including page-level operations, inter-page navigation, etc.) It can also be used as inter-page navigation.
2019-03-02 15:51:08 +08:00
## API
2019-07-11 14:14:33 +08:00
| Param | Description | Type | Default value | Version |
| --- | --- | --- | --- | --- |
2019-10-28 09:09:22 +08:00
| title | Custom title text | ReactNode | - | 3.14.0 |
| subTitle | Custom subtitle text | ReactNode | - | 3.14.0 |
| ghost | PageHeader type, will change background color | boolean | true | 3.24.0 |
2019-08-25 15:38:51 +08:00
| avatar | Avatar next to the title bar | [avatar props ](/components/avatar/ ) | - | 3.22.0 |
2019-10-30 16:28:28 +08:00
| backIcon | Custom back icon, if false the back icon will not be displayed | ReactNode | `<ArrowLeft />` | 3.14.0 |
2019-07-11 14:14:33 +08:00
| tags | Tag list next to title | [Tag ](https://ant.design/components/tag-cn/ )[] \| [Tag ](https://ant.design/components/tag-cn/ ) | - | 3.14.0 |
| extra | Operating area, at the end of the line of the title line | ReactNode | - | 3.14.0 |
2019-10-28 09:09:22 +08:00
| breadcrumb | Breadcrumb configuration | [breadcrumb ](https://ant.design/components/breadcrumb-cn/ ) | - | 3.14.0 |
2019-07-11 14:14:33 +08:00
| footer | PageHeader's footer, generally used to render TabBar | ReactNode | - | 3.14.0 |
2019-10-28 09:09:22 +08:00
| onBack | Back icon click event | `()=>void` | `()=>history.back()` | 3.14.0 |