PageHeader

Designer doc
PageHeader component.

Example

Basic Usage
View code
With Subtitle
View code
With Customized Title and Subtitle
Title and subtitle can be customized by using React element instead of normal string.
View code
With Back Button
View code
With Component Children
Component children will appear on the right of the title/subtitle element.
View code
View code
Text Overflow Behaviour
View code

API

Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
backButtonReactElement<any, string | JSXElementConstructor<any>>
backButtonContainerPropsStyledProps<HTMLDivElement>
pageHeaderTextGroupPropsStyledProps<HTMLDivElement>
pageSubtitlePropsStyledProps<HTMLHeadingElement>
pageTitleContainerPropsStyledProps<HTMLDivElement>
pageTitlePropsStyledProps<HTMLHeadingElement>
subtitleReactNode
titleReactNode
    Example
    Example
    Basic Usage
    Basic Usage
    With Subtitle
    With Subtitle
    With Customized Title and Subtitle
    With Customized Title and Subtitle
    With Back Button
    With Back Button
    With Component Children
    With Component Children
    Text Overflow Behaviour
    Text Overflow Behaviour
    API
    API
    PageHeader
    PageHeader
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.

Copyright © 2018-2025 Sea Labs