Docs
Content

Content

Utilities for setting the content of the layout

Usage

<main className="jun-content">

Container

Use container (built-in Tailwind class) to limit the max width of the content.

<main className="jun-content container"></main>

Secondary sidebar

To render a sidebar within the Content, use jun-insetSidebar. The inset sidebar must be either first child (left) or last child (right) of the Content to function properly.

<div className="jun-content">
  <div className="jun-insetSidebar">
    <div className="jun-insetContent">...</div>
  </div>
 
  <div>...main content</div>
 
  {/* The inset sidebar could be placed here too */}
</div>