-
Notifications
You must be signed in to change notification settings - Fork 42
Masthead mobile
kodiakhq[bot] edited this page Apr 19, 2022
·
1 revision
Core
UI component
The masthead mobile menu should be used at smaller breakpoints, allowing for a better experience and accessibility for those on mobile devices.
Back links (5)
Masthead L0 (3)
- ...<= 800px` | Platform name is hidden, moves to Masthead mobile
- ...width <= 800px` | Navigation is hidden, moves to Masthead mobile
- See Masthead mobile for more
Masthead L1 (1)
- ...800px` | Masthead L1 is hidden, moves under Masthead mobile
Masthead (1)
- ...over Masthead L0 navigation items within the Masthead mobile.
name | description | ||
---|---|---|---|
0.1.1 |
Closed | Closed to hide menu items. | default |
0.1.2 |
Open | Opens to reveal menu items. |
name | description | |
---|---|---|
1.0.1 |
click |
Toggles open 0.1.2 and closed 0.1.1 state. |
condition | description | |
---|---|---|
1.0.2 |
open/closed state |
Icon transitions depending on the open 0.1.2 and closed 0.1.1 state. |
See the design specs r1 for details
condition | description | |
---|---|---|
2.0.1 |
vertical overflow |
Menu scrolls vertically if the content exceeds its height. |
name | description | |
---|---|---|
2.0.2 |
to child |
Animates panels right to left revealing the child panel. |
2.0.3 |
to parent |
Animates panels left to right revealing the parent panel. |
name | description | |
---|---|---|
2.1.1 |
click |
Triggers to parent event 2.0.3 |
condition | description | |
---|---|---|
2.1.2 |
level 1 |
Hide element |
2.1.3 |
level 2 <= |
Display element |
The menu title gets its content from its parent item.
The menu item can either be a direct link, or a menu item to a child panel.
name | description | |
---|---|---|
2.3.1 |
Selected | Indicates the user is on this, or a descendent of the page link. |
Only one selected state per level. If more then one item is set to slected the first in the list wins out.
name | description | |
---|---|---|
2.3.2 |
active |
Sets item to Selected 1.0.1 state. Autogenerated unless adopter explicitly overrides. |
condition | description | |
---|---|---|
2.3.3 |
Descendant with selected state |
If an item's descendent has a selected state, than this item adopts that selected state. |
name | description | |
---|---|---|
2.3.1.1 |
click |
Navigates to targetted URL. |
name | description | |
---|---|---|
2.3.2.1 |
click |
Triggers to child event 2.0.2 |
Publishing guidelines (6)
Layout component (37)
- CTA block
- CTA section
- Callout media
- Callout quote
- Callout
- Card group
- Card section carousel
- Card section images
- Card section offset
- Card section simple
- Card section
- Content block cards
- Content block horizontal
- Content block media
- Content block mixed groups
- Content block segmented
- Content block simple
- Content block
- Content group banner
- Content group cards
- Content group pictograms
- Content group simple
- Content group
- Content item horizontal
- Content item
- Content section
- Dotcom shell
- Feature section
- Lead space block
- Lead space search
- Lead space
- Link list section
- Logo grid
- Table of contents
- Tabs extended media
- Tabs extended
- Universal banner
Service (3)
UI component (34)
- Back to top
- Background media
- Button group
- CTA
- Card in card
- Card link
- Card
- Carousel
- Expressive modal
- Feature card
- Filter group
- Filter panel
- Footer
- Image with caption
- Image
- Input select
- Leaving ibm
- Lightbox media viewer
- Link list
- Link with icon
- Locale modal
- Masthead L0
- Masthead L1
- Masthead account
- Masthead mobile
- Masthead navigation
- Masthead
- Mega menu
- Pictogram item
- Quote
- Search typeahead
- Tag group
- Tag link
- Video