Visit the Angular Material website to see how the toolbar appears on a desktop: https://material.angular.io/
https://i.sstatic.net/KPFMv.png
On mobile devices, the menu items Components, CDK, and Guides are displayed on the second line, while github, theme icon, and version number dropdown remain on the first row.
https://i.sstatic.net/SrFDg.png
Have you ever wondered how this layout is achieved? The documentation and examples do not provide any insight into this specific feature.