Layout Patterns
Panel layouts, cards, and responsive patterns
Panel Layouts
50/50 Split Layout
Equal emphasis panels for related content
Configuration
Preview
Use when: Panels have equal importance, input/output relationships, configuration and preview
2/3 - 1/3 Split Layout
Primary content with supporting panel
Main Content
Sidebar
Use when: One panel contains primary workflow, other has supporting information or controls
Three Column Layout
Equal panels for dashboard-style layouts
Panel 1
Panel 2
Panel 3
Use when: Displaying multiple distinct data sets, dashboard widgets, equal importance content
Card Patterns
Standard Card
Basic card with header and content
Card Title
Card description goes here
Card content area
Use for: Grouped content, settings sections, feature highlights
Action Card
Card with header actions
Action Card
With header actions
Content with actions
Use for: Editable content, interactive sections, data panels
Spacing Guidelines
Layout Spacing
Consistent spacing patterns for layouts
Panel Spacing
gap-4(16px) - Between panels on mobilegap-6(24px) - Between panels on desktopp-4(16px) - Internal panel paddingp-6(24px) - Page container padding
Content Spacing
space-y-2(8px) - Between form elementsspace-y-4(16px) - Between content sectionsspace-y-6(24px) - Between major sectionsmb-4(16px) - Section headers
Responsive Patterns
Breakpoint Behavior
How layouts adapt across screen sizes
Mobile
- • All panels stack vertically
- • Reduced padding and margins
- • Simplified navigation
- • Priority content first
Desktop
- • Side-by-side panel layouts
- • Full navigation visible
- • Increased spacing
- • Multi-column grids
Key Classes: grid-cols-1 lg:grid-cols-2,col-span-12 lg:col-span-8, hidden md:block