Pagehead

Pagehead denotes the title and start of a given section.

On this page

On this page

Pagehead component

Usage

Pagehead is a heading component for the title and start of a given page section. The same component in our Rails framework is called Subhead.

Options

Basic pagehead: The basic pagehead is the simplest form of the pagehead component which shows only a text layer.

Pagehead with avatars and actions: Avatars can be included next to the pagehead title, and actions can be added after the title.

Pagehead component showing variations including avatars and actions

Accessibility

Heading usage

Pagehead does not provide a heading by default. Since this component is intended to be used for the title and start of a given page section, it should include a heading (<h1>-<h6>) in most cases.

<Pagehead>
<Heading as="h2">
Heading title for Pagehead
</Heading>
</Pagehead>

Known accessibility issues (GitHub staff only)

View open accessibility issues related to this component