Halstack provides multiple components to achieve layout consistency and an easy way to arrange elements in the UI. The application layout is the base that wraps any application built with Halstack. In addition, all of the components listed below can be used within each other to create a wide variety of standard layouts:

  • Bleed
  • Flex
  • Grid
  • Inset

Layout basics


The grid provides the foundation for consistently positioning elements onscreen. The 8x Grid is the geometric foundation of all the visual elements of Halstack Design System components and spacing. It provides structure and guidance for all creative decision-making.

Layout grid of 8px

Grid usage

  • Use multiples of 8px when defining measurements, spacing, and positioning elements.
  • When necessary use 4px to make more fine tuned adjustments.
  • Whenever possible, make sure that objects line up, both vertically and horizontally.
  • Align your bounding box to the grid, not the baseline of your text.


Breakpoints define resolutions at which screen components adjust to offer an optimal user experience across screen sizes and devices. We've defined five different breakpoints to accommodate multiple web, tablet, and mobile screen resolutions:


The image below illustrates how we've used data on the most popular screen resolutions by device over the past few years to help define each breakpoint.

Layout breakpoints

Columns, margins and gutters

Layout grid of 8px

Columns, gutters, and margins make up the responsive layout grid following these breakpoints. Depending on resolution and screen size of a device, column numbers and the values of the margins and gutters adjust to accommodate all screen elements in the most optimal manner.

  • Columns are the areas of the screen where content is placed.
  • A gutter is the space between columns used to separate content.
  • Margins are the space between the edges of the screen and content.

The following table describes the columns, margins, and gutter at each of the different breakpoints:

BreakpointColumnsGutter (recommended) 1Margin (min)2
xsmall416 / small24
small416 / small24
medium424 / medium48
large816 / small56
x-large824 / medium56
  1. 1.
    Any value provided by the gutter prop in the layout components can be used (ideally multiples of 8) although we recommend to stick to the values provided.
  2. 2.
    The margin value provided are the minimun recommended, any value from our spacing scale can be used or even an auto value.