Responsive grid system for Javascript
Updated on May 17, 2021
Flexible 12 column grid system for building responsive layouts with flexbox
Mobile first responsive layout built with flexbox. Working with 12 columns across five breakpoints to cover a great variety of screen sizes.
Sizes cover extra small - up to 576 px, small, medium, large and extra large screens - above 1200 px.
Use it to create flexible layouts with the following features:
- Five built-in breakpoints
- Optional fixed width grids
- 12 column grid across all screen sizes for fine grain control
- Vertical and horizontal alignment of columns inside the grid
- Column offsets for precise positioning
- Push and pull for reordering content responsively
- Equal width columns and dynamic width columns
- Future proof built with flexbox
Grid layout demos available for other frameworks.
Viewing demos & code for
plain Javascript
Grid layout - Column sizing
Change demo
Column sizing
Javascript Grid system with multiple ways to layout content. Equal width, specific width, dynamic and self adjusting columns. Plain JS api for usage everywhere.
Copy code
Grid layout - Vertical alignment
Change demo
Vertical alignment
Javascript Grid system with multiple ways to vertically align content. Layout at the start, center or the end of the grid. Plain JS api for usage everywhere.
Copy code
Grid layout - Horizontal alignment
Change demo
Horizontal alignment
Javascript Grid system with multiple ways to horizontally align content. Push to start, middle, end or justify around/in-between. Plain JS api for usage everywhere.
Copy code
Grid layout - Offsetting columns
Change demo
Offsetting columns
Javascript Grid layout example for pushing content with column offsets. Adjust the left margin with as much as needed. Plain JS api for usage everywhere.
Copy code
Grid layout - Push and pull
Change demo
Push and pull
Javascript Grid system with responsive re-arranging content using push and pull features. Specify behavior on breakpoints. Plain JS api for usage everywhere.
Copy code
Grid layout - Responsive
Change demo
Responsive
Javascript Responsive grid system showing off different methods for laying out content based on breakpoints or without it. Plain JS api for usage everywhere.
Copy code
Grid layout - Fixed width
Change demo
Fixed width
Javascript Grid layout demo with fixed width container. Depending on the screen-size, the responsive container gets a fixed width. Plain JS api for usage everywhere.
Copy code
Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.