Youtap Tech Indonesia
Breadcrumbs

Page Header

Version history

Version

Date

Comment

Current Version (v. 1)

Oct 03, 2023 01:34

@Unknown user

Introduction

The header is typically the topmost element of a design, whether it's a website, document, presentation, or any other medium. Its primary purpose is to provide essential information about the content or identity of the design. It is often used to display the title or name of the document, website, or section, allowing users or viewers to quickly grasp the overall context. Headers are essential for branding, navigation, and providing a consistent visual identity throughout the design.

Figma component - Top Nav | Section header


All the variations of a page header are the following:


01. Usage & Specifications

Variant A - Default

Use this variant for the following scenarios:

  • There is no page to go back to AND

  • No shortcut action needed

header-page-default
Header.png
Header spacing 5.png

Specifications

Length - 327px (full screen width)

Height - 136px


Text colour - tertiary-black

Text alignment - left-aligned

Text limit - 1 line

Text limit - heading2


Corner radius bottom - see


Interaction dependent:

shadow -

Header spacing 7.png

Used components

Status bar - Native elements

Header spacing 4.png


Padding

Left/right - SP_3

bottom - SP_2


Variant B - Back navigation

Use this variant for the following scenarios:

  • There is a page to go ‘Back’

  • No shortcut action needed

Header-back-1.png

Additional specifications

Spacing - SP_1

Other specs (stay same across components)

Length - 327px (full screen width)

Height - 136px


Text colour - tertiary-black

Text alignment - left-aligned

Text limit - 1 line

Text limit - heading2


Corner radius bottom - see


Component top - Status bar


Interaction dependent:

shadow -

header-back-2.png

Icon size (static)

24px * 24px

header-back-3.png

Text field size

Length - 327px

Height - 40px


Variant C - Back navigation + Icon

Use this variant for the following scenarios:

  • There is a page to go ‘Back’ to AND

  • Extra action needs to be easily accessible

header-icon-1.png


Additional specifications

Vertical spacing - SP_1

icon-left size - 24px * 24px

Other specs (stay same across components)

Length - 327px (full screen width)

Height - 136px


Text colour - tertiary-black

Text alignment - left-aligned

Text limit - 1 line

Text limit - heading2


Corner radius bottom - see


Component top - Status bar


Interaction dependent:

shadow -


Other variant elements:

Icon

Size (static) - 24px * 24px

Text field size

Length - 327px

Height - 40px


Variant C - Back navigation + Text + Icon

Use this variant for the following scenarios:

  • There is a page to go ‘Back’ to AND

  • Extra action needs to be easily accessible AND

  • Description for the action is needed to convey meaning of shown icon

header-icon+text-1.png


Additional specifications

Spacing between text & icon - SP_1

icon-left size - 24px * 24px

Other specs (stay same across components)

Length - 327px (full screen width)

Height - 136px


Text colour - tertiary-black

Text alignment - left-aligned

Text limit - 1 line

Text limit - heading2


Corner radius bottom - see


Component top - Status bar


Interaction dependent:

shadow -


Other variant elements:

Icon

Size (static) - 24px * 24px

Text field size

Length - 327px

Height - 40px


02. Interaction behaviour


01. Landing on page

When the user lands on a page with a header, it is displayed in the default state.

header-extra1.png
header-interaction-1.png



02. Scrolling down

Once the user scrolls down and content moves behind the header element, the header element gets a shadow to indicate that there is more content moved to the top of the screen.

header-extra2.png

Shadow specs -

This state is kept until there is no content behind the header element.

header-interaction-2.png



03. Scrolling back up

When a user scrolls back up and all content is visible from the top (no content behind the header element), the shadow disappears and the header returns to its default state.


header-extra1.png


header-interaction-1.png



03. Accessibility

The standard for accessibility should always be WCAG2.0 - AA compliance for colour contrast and readability of the text.


04. Customisation options for Products

Item

Option A - Whitelabel

Option B -

Restricted custom

Option C -

Fully custom

Label

Iconography

Typography

Spacing/ Padding


05. Resources