Layouts

Use the code below to get a page layout suits your needs

Spacing & Layout Utilities

These utilities help you create consistent spacing between elements without writing custom CSS. They work with any HTML structure and are designed for common layout patterns such as cards, grids, articles, navigation, and content sections.

Child Padding

Use these classes when all direct children should have equal internal spacing, such as cards, columns, feature boxes, or dashboard widgets.


Gap Utilities

Gap utilities should be used only on Flexbox or CSS Grid containers. Unlike margins, they do not add spacing around the outer edges of the container.


Child Margin

These utilities are useful for regular block layouts, nested content, legacy layouts, or when spacing should remain outside each child element instead of using Flexbox/Grid gaps.


Cluster

Cluster is ideal for button groups, navigation links, badges, chips, tags, icons, and other collections of items that should wrap naturally.


Flow Utilities

Flow utilities automatically add vertical spacing only between adjacent children. No spacing is added before the first child or after the last child.


Content Flow

This provides consistent typography spacing throughout articles and long-form content while keeping the HTML clean.


Layout Variables

Changing these variables allows you to adjust spacing across an entire page or component without modifying individual classes.

Use the code below to create layouts with consistent spacing using these utilities.

← Previous Next →

Built with love in by Kim Majali, EITO team, and contributors.