Section Header

The Section Header provides a clear, concise heading for the content below.

Section Header/Hero

Component checklist

Design

Up to date

Flutter

Up to date

Widgetbook

Overview

The Section Header is the heading that introduces a block of content below it. It carries a title, with an optional left icon, subtext, right label and right icon.

Usage

Left Icon/Image

The left icon comes in two sizes: Default and Large, depending on the context.

These icons/images can be tappable, navigating the fan to another location or link when required.

If no left icon is used, the title text remains left-aligned.

Section Header/Left Icon Size

Title Text

Should be short and descriptive for clarity. If the text is too long, it will automatically wrap onto new lines to maintain readability.

Section Header/Title Wrapping

Subtext

Provides additional context to the title. It is limited to a single line and will be truncated with an ellipsis if it exceeds the available space.

Right Label

The right label is always tappable and navigates the fan to another location. It is typically used to provide more information about the section, e.g., “See more.”

Section Header/See More

Right Icon/Image

The right icon comes in one size; Default

This icon/image can be tappable, navigating the fan to another location or link when required.

Accessibility

Tappable elements (icons/labels) should have a large enough tap area (minimum 44x44px) to ensure ease of use.

Design

Appearance

Section Header/Appearance

Item

Usage

1

Light Mode

2

Dark Mode

Anatomy

Section Header/Variants

Item

Usage

1

Left Icon (Optional)

2

Title Text

3

Subtext Text (Optional)

4

Right Label (Optional)

5

Right Icon (Optional)

 

Variants

Section Header/Variants

Item

Variant

1

Label & Right Label

2

Label, Subtext & Right Label

3

Left Icon (Small), Label, Subtext & Right Label

4

Left Icon (Small), Label, Subtext & Right Icon

5

Left Icon (Large), Label, Subtext & Right Label

6

Left Icon (Large), Label, Subtext & Right Icon