Fork me on GitHub

Toolbar

<div id="myToolbar" class="toolbar">
  <button class="btn btn-default"><span class="glyphicon glyphicon-print"></span></button>
  <div id="checkgroup2" class="btn-group btn-group-checkbox">
    <button class="btn btn-default"><span class="glyphicon glyphicon-bold"></span></button>
    <button class="btn btn-default"><span class="glyphicon glyphicon-italic"></span></button>
    <button class="btn btn-default"><span class="glyphicon glyphicon-font"></span></button>
  </div>
  <div id="radiogroup2" class="btn-group btn-group-radio">
    <button class="btn btn-default"><span class="glyphicon glyphicon-align-left"></span></button>
    <button class="btn btn-default"><span class="glyphicon glyphicon-align-center"></span></button>
    <button class="btn btn-default"><span class="glyphicon glyphicon-align-right"></span></button>
    <button class="btn btn-default"><span class="glyphicon glyphicon-align-justify"></span></button>
  </div>
</div>
YUI().use(
  'aui-toolbar',
  function(Y) {
    new Y.Toolbar(
      {
        boundingBox: '#myToolbar'
      }
    ).render();
  }
);