PageHeader
The header can be used to declare the page topic, display important information about the page that the user is interested in, and carry the action items related to the current page (including page-level operations, inter-page navigation, etc.)
When To Use#
It can also be used as inter-page navigation when it is needed to make the user quickly understand what the current page is and to facilitate the user to use the page function.
Examples#
Basic#
Project Name
with Breadcrumb#
with onBack#
with extra#
This is Search Bar
overflow effect#
Project Name is too long long long long long long long long
No lock breadcrumb item width#
API#
| Property | Description | Type | Default |
|---|---|---|---|
breadcrumb | Breadcrumb configuration | Breadcrumb | [] |
title | Header title | ReactNode | |
extra | Operating area, at the end of the line of the title line | ReactNode | |
onBack | Back icon click event | () => void |