Bootstrap 5 Grid Large

Creating layouts for desktops and large screens

🖥️ What is Grid Large?

Bootstrap's large grid (lg) targets devices 992px and wider, including desktops and laptops. It's designed for comfortable desktop viewing where you have plenty of screen space to display multiple columns and complex layouts side by side.


<!-- Basic large grid example -->
<div class="container">
    <div class="row">
        <div class="col-lg-4">Column 1</div>
        <div class="col-lg-4">Column 2</div>
        <div class="col-lg-4">Column 3</div>
    </div>
</div>
                                    

Key Large Grid Concepts

🖥️

Breakpoint

Activates at 992px width

<div class="col-lg-12">Full width</div>
📊

Desktop First

Optimized for large screens

<div class="col-lg-3">Quarter width</div>
🎨

Complex Layouts

Support multi-column designs

<div class="col-lg-2">Narrow column</div>
⚙️

Flexible

Works with other breakpoints

<div class="col-md-6 col-lg-4">Responsive</div>

🔹 Six Column Layout

Ideal for displaying image galleries, icon grids, or feature lists, the six-column layout divides content into equal-width sections. Each column occupies 2 of Bootstrap’s 12 grid units (.col-2 or .col-sm-2), creating a balanced, visually appealing arrangement on desktops. On smaller screens, columns stack vertically or reflow responsively using breakpoint classes (.col-md-*, .col-lg-*). This responsive behavior ensures content remains accessible and readable on mobile devices while maintaining a structured, grid-based design that supports SEO through clean, semantic HTML and improved content organization.

<div class="container">
    <div class="row">
        <div class="col-lg-2 bg-primary text-white p-3">Col 1</div>
        <div class="col-lg-2 bg-secondary text-white p-3">Col 2</div>
        <div class="col-lg-2 bg-success text-white p-3">Col 3</div>
        <div class="col-lg-2 bg-danger text-white p-3">Col 4</div>
        <div class="col-lg-2 bg-warning text-dark p-3">Col 5</div>
        <div class="col-lg-2 bg-info text-white p-3">Col 6</div>
    </div>
</div>

Output:

Col 1
Col 2
Col 3
Col 4
Col 5
Col 6

🔹 Dashboard Layout

Create professional admin panels and web application interfaces using a 3-9 column split layout. The narrow sidebar (3 columns) provides space for navigation menus, user controls, or filters, while the main content area (9 columns) maximizes room for data visualization, tables, charts, and dynamic content. This layout is standard for dashboards because it optimizes screen real estate, improves user workflow, and enhances readability. Using responsive grid classes ensures the sidebar collapses or repositions on tablets and mobiles, maintaining usability across devices and supporting SEO through a well-structured, mobile-friendly HTML foundation.

<div class="container-fluid">
    <div class="row">
        <div class="col-lg-3 bg-dark text-white p-3">
            <h4>Sidebar Menu</h4>
            <ul class="list-unstyled">
                <li>Dashboard</li>
                <li>Reports</li>
                <li>Settings</li>
            </ul>
        </div>
        <div class="col-lg-9 bg-light p-3">
            <h2>Main Dashboard</h2>
            <p>Content and charts go here...</p>
        </div>
    </div>
</div>

Output:

Sidebar Menu

  • Dashboard
  • Reports
  • Settings

Main Dashboard

The central workspace for displaying key metrics, interactive charts, data summaries, and actionable insights. Utilize cards, grids, and responsive containers to organize widgets, graphs, and tables clearly. This area should prioritize user tasks, offering quick access to important information and controls. Implementing semantic HTML5 elements, ARIA labels, and structured data improves accessibility and search engine indexing. A well-designed dashboard enhances user engagement, supports decision-making, and can positively impact SEO by increasing site interaction, reducing bounce rates, and providing valuable, well-organized content.