Skip to content

Mobile Nav - Icon-style navigation instead of hamburger expand #1387

@Venefilyn

Description

@Venefilyn

Requesting new features, enhancements, or design changes to PatternFly

Relates to Masthead navigation and sidebar.

Within the navigation style currently the recommendation is to use a collapsed sidebar with a hamburger icon. This is great for websites with lots of pages or in general have an extensive sidebar. But it's not always the best, especially not for applications such as Cockpit where we want to give the user direct control in an easy manner, therefore we have a navigation bar at the bottom of the page that has icons with text instead of a hamburger icon at the top. That way we can have not only a panel with extra items but also other items to make it feel more at home.

You can find examples of this everywhere with native mobile applications such as GitHub, BlueSky, Mastodon clients, etc.

E.g.
Image

Within Cockpit we very much like this type of design and we are rocking this since years back which can be used as an example for how it could be done with Patternfly. The current design is very much focused on PF5-style so this upgrade to PF6 I'm doing isn't the best example, but showing both PF6 and PF5 nonetheless

In PF5 that is in production we have this at the moment

Kooha-2025-03-06-13-07-31.webm

And my current work with upgrading to PF6
Image

It would be great if Patternfly could support this so we reduce our own codebase a bit and remain true to Patternfly without too much modification.

Some ideas

  • Mobile view that we can pin at the bottom of the screen (though being able to put it at the top is also good for some applications I think)
  • Pop-up/Menu style panels instead of panel that slides from the side
  • Icons and text functionality with either horizontal alignment with icon and text, or stacked on top of each other with icon above and text below it.
  • Having menu groups aligned to left and right for separation
  • And likely others or ourselves at some point might find use in having buttons that can span the entire bottom nav with padding-inbetween to increase button-sizes and make it more aligned.

CC @garrett @mcoker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions