tn hx-info">Info State</button>

  </div>
  <div class="hx-content example-content"></div>

</div><script>var titlebar = new hx.TitleBar('.example-heading')

// the options are not normally needed when initialising the sidebar - they are
// required for this example since the sidebar is not in it's usual place within the dom
var sidebar = new hx.Sidebar('.hx-sidebar', {
  headerSelector: '.example-titlebar',
  contentSelector: '.example-content',
  autoAddSidebarClass: false
})

hx.select('#default-btn').on