🌐 UIBUILDER FAQ: Simple dashboard-like grid layouts

Need an information-dense web page layout? UIBUILDER has you covered.

In your index.html file, simply add a <main class="grid-2">. Any further content inside that will have a 2-column grid layout. The default formatting for <article> elements makes these card-style boxes ideal for grids.

The included brand styling for UIBUILDER includes classes for 2, 3, and 4 column grids plus grid-fit for auto-adjusting columns.

In addition, grid-span-all-cols, grid-span-2-cols (and 3 or 4 variants) to help when you need something wider than average.

grid-col-first/grid-col-left and grid-col-last/grid-col-right can be used to force new rows or positions.

Here is some example HTML from the upcoming UIBUILDER v8.0.0 new "grid" template showing how it is used:

<main class="grid-2"><!-- grid-3, grid-4, grid-fit - see uib-brand.css  -->
    <!-- Note the class to span the width -->
    <div id="more" uib-topic="more" class="grid-span-all-cols"></div>

    <!-- Example "card" content -->
    <article>
        <h2>Card 1 Heading</h2>
        <p>Card 1 content</p>
    </article>
    <article>
        <h2>Card 2 Heading</h2>
        <p>Card 2 content</p>
    </article>
</main>