Sidebar

A necessary component for your documentation template. Categorize your pages in different categories and let your readers to easily navigate between the pages.

You can find an example of a sidebar in left side of this page. A sample code is as follow.


<aside class="col-md-3 sidebar">

  <ul class="sidenav">
    <li>
      <a href="#">Getting started</a>
      <ul>
        <li><a href="#">Overview</a></li>
        <li><a href="#">How to install</a></li>
        <li><a href="#">Configuration</a></li>
        <li><a href="#">Next step</a></li>
      </ul>
    </li>

    <li>
      Components
      <ul>
        <li><a href="#">Code</a></li>
        <li><a href="#">Promo</a></li>
        <li><a href="#">Steps</a></li>
        <li><a href="#">Media</a></li>
      </ul>
    </li>

    <li>
      <a href="#"><span class="fa fa-css3"></span>CSS</a>
      <ul>
        <li><a href="#"><span class="fa fa-font"></span> Typography</a></li>
        <li><a href="#"><span class="fa fa-tag"></span> Label</a></li>
        <li><a href="#"><span class="fa fa-square-o"></span> Button</a></li>
      </ul>
    </li>
  </ul>

</aside>

Variations

Checkout other examples of sidebar component. You should add your desire class to the .sidebar tag.

default

Default

It's default sidebar type, doesn't require any class.

Demo
default

Line

Uses .sidebar-line class.

Demo
default

Icon

Uses .sidebar-icon class.

Demo