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 left-sidebar, content, and right-sidebar classes to create your layout.
<div class="shell-grid"> <header>Header</header> <aside class="left-sidebar">Left Sidebar</aside> <main class="content">Content</main> <aside class="right-sidebar">Right Sidebar</aside></div>Content
Optional Header and Right Sidebar
Omit header and right-sidebar elements to create a layout with just the left-sidebar and content.
<div class="shell-grid"> <aside class="left-sidebar">Left Sidebar</aside> <main class="content">Content</main></div>Content
Automatic Scrollbars for Content and Sidebars
left-sidebar, content, and right-sidebar 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