Youtap Tech Indonesia
Breadcrumbs

Sub-Header

Version history

Version

Date

Comment

Current Version (v. 1)

Oct 03, 2023 01:35

@Unknown user

Introduction

The purpose of a subheader in design is to improve the organization and readability of content. By creating a clear hierarchy and breaking up the material into smaller sections, subheaders help users navigate and understand the information more easily. They highlight key points, enhance visual appeal, and aid in SEO and accessibility. Subheaders play a crucial role in content organization and chunking information, ensuring a more engaging and user-friendly design overall.

 Figma component - Modal/Section Display


All the variations of a sub-header are the following:


01. Usage & Specifications

Variant A - Default

subheader-default
section.png


Specifications

Length - 375px (full-screen width)

Height - 40px (24px + 8px top + 8px bottom)


padding-top/bottom - SP_1

padding-left/right - SP_3


Text colour - tertiary-black

Text alignment - left-aligned

Text limit - 1 line

Typography - display2

Variant B - Added icon

Use this variant for the following scenarios:

  • Access information regarding the section is required

subheader-icon
Icon-1.png
icon-2.png

Additional specifications

Spacing - SP_1


Icon dimensions

Size - 24px * 24px


Other specs (stay same across components)

Length - 375px (full-screen width)

Height - 40px (24px + 8px top + 8px bottom)


padding-top/bottom - SP_1

padding-left/right - SP_3


Text colour - tertiary-black

Text alignment - left-aligned

Text limit - 1 line

Typography - display


02. Accessibility

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


03. Customisation options for Products

Item

Option A - Whitelabel

Option B -

Restricted custom

Option C -

Fully custom

Label

βœ…

βœ…

βœ…

Iconography

❌

βœ…

βœ…

Typography

❌

❌

βœ…

Spacing/ Padding

❌

❌

βœ…


07. Resources