Here’s what you need to know before getting started with the navbar:
Navbars require a wrapping .navbar and a color scheme.
Navbars and their contents are fluid by default. Use optional containers to limit their horizontal width.
Use .pull-*-left and .pull-*-right to quickly align sub-components.
Ensure accessibility by using a <nav> element or, if using a more generic element such as a <div>, add a role="navigation" to every navbar to explicitly identify it as a landmark region for users of assistive technologies.
Basic
Title bars are full width and docked to the top of the viewport.
Title bar with buttons
Buttons in a title bar are left or right aligned and should be used for actions. Use the .pull-right or .pull-left utility classes to float the buttons. Also, be sure to place any floated elements before the title.
Title bar with icons
Icons can also be used for actions in toolbars. Again, be sure to use utility classes to float the icons into position.
Title bar with link buttons and icons
Link buttons can be used in tool bars to remove the outline. Use these in conjuction with icons to recreate the nav feel from iOS7. Note the use of .btn-nav to bring the buttons a little bit closer to the edge of the viewport.
Title bar with segmented control
Title bars can also house segmented controls. Feel free to add accompanying buttons too. The control will automatically layout itself out correctly.
Tab bar
Use Ratchicons in the .tab-bar to represent different sections of your app.
Tab bar (labels only)
If you don’t want to use icons, that’s okay too. The text will appear larger to use the additional space.
Tab bar (inverse color)
If you don’t want to use icons, that’s okay too. The text will appear larger to use the additional space.
Standard bars
Standard bars are basic fixed elements that can be positioned in four places. These can be used to house buttons, icons, or segmented controls (see following examples).
Color schemes
Theming the navbar has never been easier thanks to the combination of a simple link color modifier class and background-color utilities. Put another way, you specify light or dark and apply a background color.