Page Layouts
Common page structures built with the EBRAINS grid system, utility classes, and layout components.
Hero Section
A full-width hero with heading, description, call-to-action, and optional background:
Key classes: bg-strongest for dark background, f-heading-01 for large responsive heading, container mx-auto for centered content.
Content Page
Standard documentation or article layout with a sidebar and main content area:
Dashboard
Grid-based layout with stat cards, charts, and data tables:
Feature Grid
Showcase features or capabilities using card components:
Responsive Behavior
All layouts adapt automatically using the EBRAINS breakpoint system:
| Breakpoint | Width | Typical Layout |
|---|---|---|
sm | 0-749px | Single column, stacked content |
md | 750px+ | Two columns, sidebar collapses |
lg | 900px+ | Full layout with sidebar |
xl | 1024px+ | Wide content area |
Use responsive prefixes to adjust:
Best Practices
- Use
container mx-autofor centered, max-width content - Use
grid-layoutfor column-based layouts - Keep hero sections concise — one heading, one description, one or two CTAs
- Use
eds-card-statfor dashboards,eds-card-featurefor feature grids - Always include
eds-headerandeds-footerfor full pages - Test layouts at all breakpoints