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

Performance Center

Live stats from last 30 days

Total Revenue

$128,540

+12.4%

New Clients

1,280

+8.1%

Active Plans

320

Stable

Churn Rate

2.4%

-0.6%

Live Projects

3 Ongoing
AI Dashboard88%
Mobile Banking63%
Crypto Platform41%

Core Team

Alex Morgan

UI Engineer

Sofia Khan

Product Lead

Daniel Cruz

Backend Dev

Recent Messages

Client approved design ✅2h ago
Server upgrade completed 🚀6h ago
Payment received 💳Yesterday

Quick Actions

Installation

ignix add component fullheightsidebarlayout

Usage

  import { FullHeightSidebarLayout } from "./components/templates";

function FullHeightSidebarLayout() {
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" | "gradient""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