Skip to content

Header Element

Provides a responsive container for the native HTML header element

Usage

Basic Usage

The <page-header> element itself does not provide any content of its own. Instead, it acts as a sticky, responsive container wrapping your supplied content in a native <header> element.

PortfoLitO
html
<body>
  <page-header>PortfoLitO</page-header>
  <page-main>
    <!-- Your Content -->
  </page-main>
</body>

CSS Variables

NameDescriptionTypeDefault
--header-bgColorBackground color of the header elementcolor
  • inherit

Slots

NameDescriptionType
noneContents of the page header*