Shell Grid

Shell-grid creates a layout with a header, left sidebar, main content area, and right sidebar. The main content expands to fill available space, and the sidebars’ width are adjustable.


Create websites with left and right sidebars easily

Just use Shell-grid along with LeftSidebar, Content, and RightSidebar classes to create your layout.

index.html
<div class="Shell-grid">
<header>Header</header>
<aside class="LeftSidebar">Left Sidebar</aside>
<main class="Content">Content</main>
<aside class="RightSidebar">Right Sidebar</aside>
</div>
Header
Content

Optional Header and Right Sidebar

Omit header and RightSidebar elements to create a layout with just the LeftSidebar and Content.

index.html
<div class="Shell-grid">
<aside class="LeftSidebar">Left Sidebar</aside>
<main class="Content">Content</main>
</div>
Content

Automatic Scrollbars for Content and Sidebars

LeftSidebar, Content, and RightSidebar containers automatically add scrollbars when their contents exceed the container height.

Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph 5
Paragraph 6
Paragraph 7
Paragraph 8
Paragraph 9
Paragraph 10
Paragraph 11
Paragraph 12
Paragraph 13
Paragraph 14
Paragraph 15
Paragraph 16
Paragraph 17
Paragraph 18
Paragraph 19
Paragraph 20

Easy Responsive Behaviour

Create a mobile-friendly layout using our Drawer component and Tailwind’s responsive variants.

Resize this demo to see the mobile layout in action!

Resize to see this work!
Header
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph 5
Paragraph 6
Paragraph 7
Paragraph 8
Paragraph 9
Paragraph 10
Paragraph 11
Paragraph 12
Paragraph 13
Paragraph 14
Paragraph 15
Paragraph 16
Paragraph 17
Paragraph 18
Paragraph 19
Paragraph 20