This site is no longer maintained

This is the documentation for version 0 of the design system and will no longer be updated. Please see the new Design System site on nice.org.uk for the most up-to-date documentation.

Alpha NICE Design System is in development. This means it is not feature complete and there may be issues. Find any? Please, let us know!

Why?

Give a clear introduction to a page to explain the content on a page.

Usage

Use underneath the breadcrumb inside a container and above the main content. Use a clear, short title and a concise intro to the contents of the page.

Variants

Default

Example

Source


<div class="page-header">
    <h1 class="page-header__heading">
        Page title
    </h1>
    <p class="page-header__lead">
        Use a concise explanation of what the page is about
    </p>
</div>

Example

Source


<div class="page-header">
    <h1 class="page-header__heading">
        Page title
    </h1>
    <p class="page-header__lead">
        Use a concise explanation of what the page is about
    </p>
    <p class="page-header__cta">
        <a href="#">A link</a>
    </p>
</div>

With call-to-action button

Use a call-to-action button within a page header when there’s a main action for the page.

Example

Source


<div class="page-header">
    <h1 class="page-header__heading">
        Page title
    </h1>
    <p class="page-header__lead">
        Use a concise explanation of what the page is about
    </p>
    <p class="page-header__cta">
        <a href="#" class="btn btn--cta">A call to action</a>
    </p>
</div>

Edit on GitHub