Skip to content

PageHeader

A page header information area with title, subtitle, back button and a right-side action area. Commonly used at the top of detail and edit pages.

Basic usage

Title and subtitle

With back button

Back button

Right-side action area

extra slot

ExportNew project

Event feedback

Back event

API

Attributes

AttributeDescriptionTypeDefault
backWhether to show the back buttonboolean
subtitleSubtitle textstring
titleTitle textstring

Events

EventDescription
oas-backThe back button was clicked

Slots

NameDescription
extra

Slots: extra (right-side action area, empty by default). The back button renders as a native <button aria-label="返回">.