Skip to main content
Version: 1.0.3

FullHeightSidebar

Overview

The Full Height SideBar component provides a complete layout solution with a header, sidebar, scrollable main content. It's designed to be highly configurable with support for responsive design, animations, and various layout variants. This component is perfect for building app dashboards.

Preview

App Dashboard

Live • Updated 2 min ago

Today

$12.4K

+8.2%

Week

$89.2K

+15.3%

Month

$342K

+22.1%

Total

$1.24M

+45.8%

Revenue

$128,540

+12.4%

Users

12,480

+8.1%

Conversion

3.24%

+0.8%

Orders

$142

+5.2%

Revenue Trend

Last 7 days

Mon$12.4K
Tue$14.2K
Wed$11.8K
Thu$15.1K
Fri$13.6K
Sat$9.2K
Sun$10.5K

Projects

3 active

3
Dashboard88%
Mobile App63%
Web App41%

Team

Alex Morgan

Alex Morgan

Designer

Sofia Khan

Sofia Khan

PM

Daniel Cruz

Daniel Cruz

Developer

Activity

Project completed

Dashboard v2.0 launched

2h ago

Payment received

$12,450 from Acme Corp

5h ago

New member

Emma joined the team

Yesterday

Installation

ignix add component FullHeightSidebarLayout

Usage

  import { FullHeightSidebarLayout } from "@src/components/templates/fullheightsidebarlayout";

function App() {
return (
<FullHeightSidebarLayout
variant="default"
mobileBreakpoint="md"
sidebarPosition="left"
stickyHeader={true}
overlay={true}
enableGestures={true}
header={<div>Header Content</div>}
sidebar={<div>Sidebar Content</div>}
>
<div>Main Content</div>
</FullHeightSidebarLayout>
);
}

Props

PropTypeDefaultDescription
headerReact.ReactNodeundefinedContent for the header section
sidebarReact.ReactNodeundefinedContent for the sidebar section
childrenReact.ReactNodeundefinedMain content area
variant"default" | "dark" | "light" | "glass""default"Visual theme variant
sidebarPosition"left""right" Position of the sidebar
mobileBreakpoint"sm" | "md" | "lg""md"Breakpoint for mobile behavior
stickyHeaderbooleantrueWhether header should be sticky
overlaybooleantrueWhether to show overlay on mobile
enableGesturesbooleantrueWhether to enable touch gestures
sidebarCollapsedWidthnumber80Collapsed width in pixels
headerHeightnumber64Header height in pixels
footerHeightnumber64Footer height in pixels
contentPaddingstring"p-4 lg:p-6"Padding for content area
transitionDurationnumber0.3Animation duration in seconds
sidebarCollapsedbooleanfalseWhether sidebar is initially collapsed
onSidebarToggle(isOpen: boolean) => voidundefinedCallback for sidebar toggle
zIndexobject{ header: 10, sidebar: 90, footer: 50, overlay: 80 }Z-index values for each layer
classNamestringundefinedAdditional CSS classes