Grid layout for React

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

light
dark

Change the theme setting here

Grid layout - Column sizing

Change demo
Column sizing
React Grid system with multiple ways to layout content. Equal width, specific width, dynamic and self adjusting columns. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-basic">
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Equal width</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col">1 of 2</div>
                            <div className="mbsc-col">2 of 2</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col">1 of 4</div>
                            <div className="mbsc-col">2 of 4</div>
                            <div className="mbsc-col">3 of 4</div>
                            <div className="mbsc-col">4 of 4</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Specific width</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-8">col 8</div>
                            <div className="mbsc-col-4">col 4</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col-3">col 3</div>
                            <div className="mbsc-col-6">col 6</div>
                            <div className="mbsc-col-3">col 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Setting one column</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-4">col 4</div>
                            <div className="mbsc-col">col</div>
                            <div className="mbsc-col">col</div>
                            <div className="mbsc-col">col</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col">col</div>
                            <div className="mbsc-col-5">col 5</div>
                            <div className="mbsc-col">col</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Dynamic width</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid mbsc-grid-sm">
                        <div className="mbsc-row">
                            <div className="mbsc-col-sm-auto">auto width column</div>
                            <div className="mbsc-col">col</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col">col</div>
                            <div className="mbsc-col-sm-auto">auto width column</div>
                            <div className="mbsc-col">col</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-basic [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    background-clip: padding-box;
    border: 1px solid transparent;
    color: #454b50;
}

.md-grid-basic .mbsc-row {
    margin: 1em 0;
}

Grid layout - Vertical alignment

Change demo
Vertical alignment
React Grid system with multiple ways to vertically align content. Layout at the start, center or the end of the grid. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-vertical">
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Items aligned to start</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-align-items-start">
                            <div className="mbsc-col">1 of 3</div>
                            <div className="mbsc-col">2 of 3</div>
                            <div className="mbsc-col">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Items aligned to center</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-align-items-center">
                            <div className="mbsc-col">1 of 3</div>
                            <div className="mbsc-col">2 of 3</div>
                            <div className="mbsc-col">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Items aligned to end</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-align-items-end">
                            <div className="mbsc-col">1 of 3</div>
                            <div className="mbsc-col">2 of 3</div>
                            <div className="mbsc-col">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-vertical [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    background-clip: padding-box;
    border: 1px solid transparent;
    color: #454b50;
}

.md-grid-vertical .mbsc-row {
    margin: 1em 0;
    height: 6em;
    padding: 1px;
    background: rgba(188, 141, 224, 0.58);
}

Grid layout - Horizontal alignment

Change demo
Horizontal alignment
React Grid system with multiple ways to horizontally align content. Push to start, middle, end or justify around/in-between. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-horizontal">
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Justify content to start</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-justify-content-start">
                            <div className="mbsc-col-3">1 of 3</div>
                            <div className="mbsc-col-3">2 of 3</div>
                            <div className="mbsc-col-3">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Justify content to center</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-justify-content-center">
                            <div className="mbsc-col-3">1 of 3</div>
                            <div className="mbsc-col-3">2 of 3</div>
                            <div className="mbsc-col-3">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Justify content to end</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-justify-content-end">
                            <div className="mbsc-col-3">1 of 3</div>
                            <div className="mbsc-col-3">2 of 3</div>
                            <div className="mbsc-col-3">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Justify content around</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-justify-content-around">
                            <div className="mbsc-col-3">1 of 3</div>
                            <div className="mbsc-col-3">2 of 3</div>
                            <div className="mbsc-col-3">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Justify content between</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row mbsc-justify-content-between">
                            <div className="mbsc-col-3">1 of 3</div>
                            <div className="mbsc-col-3">2 of 3</div>
                            <div className="mbsc-col-3">3 of 3</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-horizontal [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    background-clip: padding-box;
    border: 1px solid transparent;
    color: #454b50;
}

.md-grid-horizontal .mbsc-row {
    margin: 1em 0;
    padding: 1px;
    background: rgba(188, 141, 224, 0.58);
}

Grid layout - Offsetting columns

Change demo
Offsetting columns
React Grid layout example for pushing content with column offsets. Adjust the left margin with as much as needed. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-offset">
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Offsetting columns</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-4">1 of 2</div>
                            <div className="mbsc-col-4 mbsc-offset-4">2 of 2</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col-3  mbsc-offset-3">1 of 2</div>
                            <div className="mbsc-col-3  mbsc-offset-3">2 of 2</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col-6  mbsc-offset-3">1 of 1</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-offset [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    background-clip: padding-box;
    border: 1px solid transparent;
    color: #454b50;
}

.md-grid-offset .mbsc-row {
    margin: 1em 0;
    padding: 1px;
    background: rgba(188, 141, 224, 0.58);
}

Grid layout - Push and pull

Change demo
Push and pull
React Grid system with responsive re-arranging content using push and pull features. Specify behavior on breakpoints. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-push-pull">
                <div className="mbsc-align-center">
                    <div className="mbsc-note mbsc-note-primary">You can change the order of the columns with the push and pull attributes.</div>
                </div>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Push and pull</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-4 mbsc-push-lg-8">This is the first column</div>
                            <div className="mbsc-col-8 mbsc-pull-lg-4">This is the second column</div>
                        </div>
                    </div>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-12 mbsc-col-md-6 mbsc-push-md-6">This is the first column</div>
                            <div className="mbsc-col-12 mbsc-col-md-6 mbsc-pull-md-6">This is the second column</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-push-pull [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    background-clip: padding-box;
    border: 1px solid transparent;
    color: #454b50;
}

.md-grid-push-pull .mbsc-row {
    margin: 1em 0;
}

Grid layout - Responsive

Change demo
Responsive
React Responsive grid system showing off different methods for laying out content based on breakpoints or without it. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-responsive">
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Responsive classes</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 1</div>
                            <div className="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 2</div>
                            <div className="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 3</div>
                            <div className="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 4</div>
                        </div>
                    </div>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col">Column 1</div>
                            <div className="mbsc-col">Column 2</div>
                            <div className="mbsc-col">Column 3</div>
                        </div>
                    </div>
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-auto">This column has auto-width</div>
                            <div className="mbsc-col">Second column</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-responsive [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    border: 1px solid transparent;
    background-clip: padding-box;
    color: #454b50;
}

.md-grid-responsive .mbsc-row {
    margin: 1em 0;
}

Grid layout - Fixed width

Change demo
Fixed width
React Grid layout demo with fixed width container. Depending on the screen-size, the responsive container gets a fixed width. For React.
class FormDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form className="md-grid-fixed">
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Fixed width layout</mobiscroll.FormGroupTitle>
                    <div className="mbsc-grid-fixed">
                        <div className="mbsc-row">
                            <div className="mbsc-col">1 of 2</div>
                            <div className="mbsc-col">2 of 2</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col-3">col 3</div>
                            <div className="mbsc-col-6">col 6</div>
                            <div className="mbsc-col-3">col 3</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col-4">col 4</div>
                            <div className="mbsc-col">col</div>
                            <div className="mbsc-col">col</div>
                            <div className="mbsc-col">col</div>
                        </div>
                        <div className="mbsc-row">
                            <div className="mbsc-col-auto">auto width column</div>
                            <div className="mbsc-col">col</div>
                        </div>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-grid-fixed [class*="mbsc-col"] {
    padding-top: .5em;
    padding-bottom: .5em;
    background: #cfe0f3;
    background-clip: padding-box;
    border: 1px solid transparent;
    color: #454b50;
}

.md-grid-fixed .mbsc-row {
    margin: 1em 0;
}

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for React $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for React $595


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Framework license


Select the development framework you are using. Get all 36 components with the license.

Mobiscroll for Javascript
Mobiscroll for jQuery
Mobiscroll for React
Mobiscroll for Angular
Mobiscroll for Angular JS
  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

Use jQuery when you have jQuery already included or if you are building with jQuery Mobile.

Use AngularJS when building with Angular 1.x or Ionic 1.

Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4.

Use it when you are building your app or website with React.

Do you need additional support seats?

The framework license comes with one support seat. ( +$50/seat )

Add the source code?

Price
Buy now
Customize & try demos locally
Sign in or start your free trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Email address

Customize & try this demo locally
Sign in or start your free trial

We have to set you up with a trial for this to run 👍

Email address

Customize & try demos locally
You can download and use Mobiscroll for Free

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite

You will be prompted to log in with your mobiscroll account. Set your password here

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve
Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below

You are setting a password for the account

New Password Required Enter at least 6 characters
Change your password
Need to update your password? Enter and hit the button below

Your password has been changed!

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

The demo is using an in-browser TypeScript transpiler app as its base. Extract the zip file and open the index.html on your local dev server.

You can also use live-server. For installation and usage, open a terminal window and follow these steps.

Step 1. Install live-server
$ npm install -g live-server
Step 2. Start server & run app
$ live-server

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 26
Cards 14
Color 10
Date & Time 19
Event Calendar 20
Forms 9
Grid layout 7
Image 7
Inputs & fields 6
Listview 17
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 18
Scroller 7
Scrollview 5
Select 16
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Bootstrap
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos