Promptary
Frontend ยท Layout

Layout developer concepts

Learn 44 Layout concepts for Frontend development, with definitions, aliases, and ready-to-use AI prompts.

CSS layout systems

Normal flow

The browser's default block-and-inline document layout before special positioning is applied.

Also known as
Document flow, Flow layout, Default layout
AI prompt
Create a semantic content page that relies on normal document flow, uses logical spacing instead of positional offsets, preserves a readable source order, and reflows cleanly for zoomed and narrow viewports.

Flexbox layout

A one-dimensional system for distributing and aligning items along a row or column.

Also known as
Flexible box, Flex layout, CSS flex
AI prompt
Create a responsive one-dimensional Flexbox layout with sensible wrapping, gap-based spacing, min-width: 0 on flexible children, alignment that works in both directions, and source order that remains logical for keyboard and screen-reader users.

CSS Grid layout

A two-dimensional system for arranging content into explicit rows and columns.

Also known as
Grid, CSS grid, Two-dimensional layout
AI prompt
Create a responsive CSS Grid layout with named areas, explicit gaps, minmax tracks, robust overflow handling, and a single-column fallback that preserves the semantic source order.

Subgrid layout

A nested grid whose tracks align with those defined by its parent grid.

Also known as
CSS subgrid, Nested aligned grid, Shared grid tracks
AI prompt
Create a card collection using CSS subgrid so each card's heading, content, and action align to shared parent rows, while retaining a clear fallback and avoiding fixed content heights.

Multi-column layout

Continuous content that flows vertically through newspaper-like columns.

Also known as
Multicol, Column layout, Newspaper columns
AI prompt
Create a readable CSS multi-column article with a comfortable column width, balanced gaps and rules, headings that avoid awkward breaks, and a single-column presentation on small screens; use it for continuous text rather than unrelated UI cards.

Positioned layout

Elements placed relative to a containing block with relative, absolute, sticky, or fixed positioning.

Also known as
CSS positioning, Absolute layout, Anchored positioning
AI prompt
Create a positioned interface element anchored to a clearly established containing block, avoid covering essential content, handle viewport edges and zoom, and keep DOM order and focus behavior meaningful.

Float and text wrap

Content that wraps around a floated image, pull quote, or other compact object.

Also known as
Float layout, Text wrap, Wrapped media
AI prompt
Create editorial text that wraps around a floated image with an appropriate caption, logical margins, a reliable clearfix or flow-root container, and a stacked treatment when space becomes limited.

Table layout

A row-and-column structure for genuinely tabular data with aligned cells and headers.

Also known as
Data table layout, Tabular layout, CSS table
AI prompt
Create a semantic responsive data table with caption, row and column headers, aligned numeric values, readable density, horizontal overflow that does not clip the page, and an accessible narrow-screen strategy.

Intrinsic layout

A content-driven layout that adapts using min-content, max-content, fit-content, minmax, and auto-fit.

Also known as
Content-driven layout, Algorithmic layout, Intrinsic web design
AI prompt
Create an intrinsic card layout using repeat(auto-fit, minmax()) and content-aware sizing so components wrap without hard-coded device breakpoints, long content can shrink safely, and no horizontal overflow is introduced.

Composition primitives

Centered container

A maximum-width content wrapper centered in the viewport with protective side padding.

Also known as
Content wrapper, Max-width container, Page container
AI prompt
Create a centered page container with a readable max-width, fluid inline gutters using clamp(), full support for narrow screens, and logical properties that work in left-to-right and right-to-left layouts.

Fluid container

A width-filling wrapper whose gutters and internal tracks scale with available space.

Also known as
Full-width container, Liquid layout, Fluid wrapper
AI prompt
Create a fluid page container that uses the available width, applies responsive gutters, constrains overly long text within nested measures, respects safe-area insets, and avoids accidental viewport overflow.

Stack layout

A vertical sequence of elements separated by one consistent spacing rule.

Also known as
Vertical stack, Flow stack, Stack primitive
AI prompt
Create a reusable vertical Stack component using a single configurable gap, support nested stacks and optional dividers, avoid child-specific margins, and preserve natural document flow.

Cluster layout

A wrapping row of related items such as tags, actions, or compact controls.

Also known as
Inline cluster, Wrapping group, Flex cluster
AI prompt
Create a reusable Cluster component for related controls or tags using Flexbox, wrapping, consistent gap, configurable alignment and justification, and stable behavior for long labels and narrow containers.

Center layout

Content centered horizontally, vertically, or both within its available area.

Also known as
Centered content, Place-center layout, Center primitive
AI prompt
Create a centering layout that can center content on either or both axes, uses Grid or Flexbox rather than transforms, remains stable for dynamic content, and falls back to scrollable top alignment when content exceeds the viewport.

Cover layout

A full-height composition with optional header and footer around a vertically centered principal region.

Also known as
Vertical cover, Hero cover, Min-height layout
AI prompt
Create a Cover layout with optional header and footer, a main region centered in the remaining space, min-height based on dynamic viewport units, safe-area support, and natural overflow when content becomes taller than the screen.

Split layout

Two groups pushed to opposite edges while keeping consistent alignment and wrapping.

Also known as
Space-between layout, Split cluster, Opposing groups
AI prompt
Create a Split layout for a title and action group using flexible spacing, wrap safely when labels grow, keep actions in a logical source order, and avoid fragile absolute positioning.

Media object

An image or icon beside a flexible block of text and supporting content.

Also known as
Image and text, Avatar row, Media pattern
AI prompt
Create a responsive media object with fixed-size meaningful media, flexible text that can shrink without overflow, aligned metadata and actions, useful alternative text, and an optional stacked treatment for narrow containers.

Aspect-ratio frame

A media frame that preserves a chosen width-to-height ratio as its container changes.

Also known as
Ratio box, Media frame, Responsive embed
AI prompt
Create a responsive media frame with CSS aspect-ratio, appropriate object-fit behavior, intrinsic dimensions to reduce layout shift, a useful fallback, and controls that remain operable at different sizes.

Full-bleed layout

Selected sections extend to the viewport edge while the main content stays on a readable measure.

Also known as
Breakout layout, Edge-to-edge section, Full-width breakout
AI prompt
Create a full-bleed article layout where chosen media or sections extend edge-to-edge while text remains in a centered readable column, without negative-margin overflow or broken horizontal scrolling.

Page & application layouts

Single-column layout

One focused vertical content column optimized for reading or completing a task.

Also known as
One-column layout, Linear layout, Reading column
AI prompt
Create a focused single-column page with a readable line length, clear heading hierarchy, predictable vertical rhythm, optional anchored actions, and responsive gutters for small and large viewports.

Two-column layout

A primary region paired with a secondary column for context, controls, or related content.

Also known as
Dual-column layout, Main and aside, 2-column layout
AI prompt
Create a responsive two-column page with a dominant main region and narrower complementary aside, semantic landmarks, independent min-width constraints, and a logical single-column order on small screens.

Three-column layout

A central content region supported by two narrower side regions.

Also known as
Triple-column layout, Three pane layout, 3-column layout
AI prompt
Create a responsive three-column page with a flexible central region, bounded side columns, deliberate collapse priorities, semantic landmarks, and no loss of content or functionality at narrow widths and high zoom.

Holy Grail layout

A header, footer, main content, and two sidebars arranged as a classic responsive page shell.

Also known as
Classic page layout, Header-main-footer grid, Holy grail
AI prompt
Create a modern Holy Grail layout with semantic header, main, complementary sidebars, and footer; use CSS Grid, keep the main region fluid, stack regions in a logical source order, and make the footer follow content naturally.

App shell

A persistent application frame with navigation, top bar, content workspace, and optional inspector.

Also known as
Application shell, Workspace layout, Admin shell
AI prompt
Create a responsive application shell with semantic navigation and main landmarks, collapsible sidebar, top bar, scrollable workspace, min-height: 0 and min-width: 0 in nested Grid or Flex regions, preserved focus, and mobile drawer behavior.

Fixed header layout

A page with a header that remains at the viewport edge while the main content scrolls.

Also known as
Sticky header page, Pinned top bar, Persistent header
AI prompt
Create a sticky or fixed header layout that avoids obscuring headings, focused controls, and anchor targets; supports safe areas and zoom; prevents layout jumps; and becomes non-sticky when viewport height is constrained.

Dashboard layout

A scannable arrangement of metrics, charts, tables, and actions with clear priority.

Also known as
Analytics dashboard, KPI grid, Admin dashboard
AI prompt
Create a responsive dashboard grid with clearly prioritized KPIs, charts, recent activity, and actions; use semantic headings, consistent card alignment, adaptive column spans, accessible data alternatives, and no information conveyed by color alone.

Card grid

A repeatable grid of self-contained cards that adapts the number of columns to available width.

Also known as
Tile grid, Responsive card layout, Collection grid
AI prompt
Create an accessible responsive card grid using auto-fit or explicit responsive columns, consistent gaps, equal visual alignment without fixed content heights, correctly scoped interactive targets, and a sensible list alternative.

Feed layout

A continuous stream of similarly structured content optimized for browsing and discovery.

Also known as
Content feed, Activity stream, Timeline feed
AI prompt
Create a responsive content feed with clear item boundaries, stable media dimensions, meaningful chronology, accessible load-more or pagination behavior, preserved position when content updates, and compact-to-expanded adaptations.

List-detail layout

A collection pane paired with a detailed view of the currently selected item.

Also known as
Master-detail layout, Split view, Collection-detail
AI prompt
Create an adaptive list-detail layout with a selectable list, clearly labelled detail region, synchronized selection and URL state, preserved scroll and focus, side-by-side presentation on wide screens, and drill-in/back navigation on compact screens.

Supporting pane

Primary content accompanied by a contextual pane for related tools, details, or assistance.

Also known as
Contextual pane, Inspector layout, Companion panel
AI prompt
Create an adaptive supporting-pane layout with a dominant main task and a clearly related secondary pane, sensible wide and medium arrangements, an accessible compact-screen modal or separate view, and explicit close and return-focus behavior.

Split-screen layout

Two substantial regions share the viewport, often pairing brand media with an interactive task.

Also known as
Half-and-half layout, 50/50 layout, Dual-pane screen
AI prompt
Create a responsive split-screen composition with two meaningful regions, balanced but not necessarily equal sizing, controlled media cropping, logical reading order, and a stacked narrow-screen layout that keeps the primary task first.

Magazine layout

An editorial grid combining a lead story with varied supporting story sizes and rhythm.

Also known as
Editorial layout, News grid, Publication layout
AI prompt
Create a responsive editorial magazine layout with one clear lead story, varied but consistent supporting modules, readable text measures, stable media ratios, semantic article order, and a simple linear small-screen presentation.

Bento grid

A modular grid of differently sized panels arranged into a cohesive rectangular composition.

Also known as
Feature grid, Modular tile layout, Bento box UI
AI prompt
Create a responsive bento grid with intentional large and small feature tiles, consistent gaps and radii, concise content hierarchy, robust grid spans, logical source order, and a balanced single-column fallback.

Masonry layout

Unequal-height items packed into columns to reduce vertical gaps.

Also known as
Pinterest layout, Packed columns, Waterfall grid
AI prompt
Create a responsive masonry-style collection with stable item dimensions, logical DOM and focus order, progressive enhancement for CSS masonry where supported, a dependable multi-column or Grid fallback, and no content jumping during media load.

Form page layout

A structured page that aligns field groups, guidance, validation, and actions for efficient completion.

Also known as
Form grid, Input page layout, Data-entry layout
AI prompt
Create a responsive form page layout with grouped fields, persistent labels, aligned but source-ordered controls, full-width rows for long answers, inline guidance and validation, a single-column mobile layout, and a clear action area.

Responsive & adaptive layouts

Responsive grid

A column, gutter, and margin system that changes structure across available screen widths.

Also known as
Column grid, Responsive column system, Layout grid
AI prompt
Create a responsive twelve- or sixteen-column grid with documented margins, gutters, max width, and span rules; reduce columns at suitable content breakpoints, support fluid and constrained regions, and expose reusable layout tokens.

Mobile-first layout

A layout that starts with the compact experience and progressively enhances as space becomes available.

Also known as
Small-screen first, Progressive layout, Min-width responsive design
AI prompt
Create a mobile-first responsive layout beginning with a robust single-column base, add enhancements with content-driven min-width queries, retain all important functionality and readable targets, and avoid desktop assumptions in source order.

Breakpoint layout

A layout that changes at explicit content-driven media-query thresholds.

Also known as
Media-query layout, Responsive breakpoint, Adaptive breakpoint
AI prompt
Create a responsive layout with a small set of content-driven breakpoints rather than device names, document what changes at each threshold, support zoom and reflow, and test just before and after every breakpoint.

Container-query layout

A reusable component that changes based on its containing element rather than the viewport.

Also known as
Component query, Container-responsive component, @container layout
AI prompt
Create a reusable component with an inline-size containment context and CSS container queries, provide sensible intrinsic defaults, avoid coupling it to viewport breakpoints, and adapt composition, typography, and actions at component-relevant widths.

Responsive reordering

Visual placement changes across layouts while the underlying source and focus order stay meaningful.

Also known as
Layout reordering, Responsive order, Adaptive placement
AI prompt
Create a responsive composition whose visual placement changes between compact and wide layouts while preserving a logical DOM, reading, and keyboard focus order; avoid positive tabindex and verify that CSS order does not change task meaning.

Resizable split pane

Adjacent work areas separated by a draggable, keyboard-operable divider.

Also known as
Resizable panels, Split pane, Adjustable divider
AI prompt
Create a resizable split-pane layout with a visible separator using role=separator, pointer and keyboard resizing, announced value limits, practical minimum pane sizes, persisted preference, double-click reset, and a stacked compact-screen alternative.