For code examples on the specific navigation components (header, subnav, sidenav) see header documentation.