Skip to content

HeaderWarning: Draft

The topmost element displaying the screen title and optional design elements such as subtitle, avatar, and icon buttons. It helps users navigate the app and access key actions easily.
1c053cae-7a66-809e-af27-f2d14f9a1f7f.png

The Header component sits at the top of every screen from Pleo’s mobile app. Use the Header component to provide content and actions related to a screen’s experience, such as navigation, screen titles, and actions.

Top and Title group are always used together.

1c053cae-7a66-8076-8ef9-cec7ff3e19f8.png

The Top subcomponent provides key actions with icon buttons for navigating the app and disclosing interactions.

1c053cae-7a66-8062-8ab5-e6a5fe173ba0.png

The Title Group subcomponent helps users understand where in the app they are by providing text elements like a title.

1c053cae-7a66-80f0-bedf-ef497b8d2c81.png

When scrolling, the Top subcomponent should stay fixed by default, revealing the Title to keep it always visible.

1c053cae-7a66-8081-a9ad-fc7574af632f.gif
Information:

The code version of the component still needs rework in order to handle the scroll behaviour out-of-the-box.

1c053cae-7a66-80a3-84c7-e2657fe16b04.png

Use a Back Icon Button within the Top subcomponent with to help users navigate between main and sub screens.

1c053cae-7a66-80aa-afa6-e5b1771cdac0.png

Use an Avatar within the Top subcomponent to provide users with quick account-related actions.

1c053cae-7a66-805d-b200-e9e76848d309.png

Use Primary and Secondary Icon Buttons in the Top subcomponent for high-priority actions.

1c053cae-7a66-80ee-9f30-d06e8c494ea3.png

Use Tertiary Icon Buttons for situations where we need to provide users with non-essential elements, such as supplementary information.

1c053cae-7a66-8080-9ff8-fd90c42d51df.png

While scrolling, the Header should reveal a left-aligned Top Title to keep it visible.

1c053cae-7a66-803a-81e9-c08a8707679b.png

Use the Header with an empty Top for main app screens or experiences that don’t require navigation or extra actions.

If the screen needs to be scrollable, the Title should still appear at the top of the Header to remain visible while scrolling.

1c053cae-7a66-8001-9849-c437d6f14994.png

Always use a title to provide screens with semantic hierarchy and clearly communicate to users which screen they are on.

1c053cae-7a66-8004-a7c2-dafbe65c813c.png

Only use a subtitles if a screen title is too little context for users to fully understand the experience.

Avoid using the Title group without the Top subcomponent (or vice-verse) to maintain a consistent layout across the app.

1c053cae-7a66-80c4-b1b6-f5c36590ea62.png

All screens should include a Title to ensure they carry a semantic hierarchy, and provide context to users about where in the app they’re in.

1c353cae-7a66-8070-88ef-c17b610192a0.png

While scrolling, the Title group should follow the rest of the scrollable content.

1c353cae-7a66-80e5-9e4d-eedaf7b34921.gif

Use up to 3 Icon Buttons within Top’s far right.

1c353cae-7a66-8052-9dc1-ee0d984d6345.png

Use an Avatar, a Back Icon Button or no elements within Top’s far left.

1c053cae-7a66-80af-935c-eb83e67904d7.png

Use up to 41 characters for the Title and 81 for the Subtitle.

1c053cae-7a66-808a-93dc-db89ee2685e6.png
  • Avatar: A graphical representation of a user or entity - usually a photo or initials.
  • Icon button: Enables users to control the visibility of other UI elements.
  • Screen template: A utility component for designers to create mobile app Figma UI designs.
This page is a draft. Its content is likely to change.