Grid layout for Angular JS and Ionic 1

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
AngularJS Grid system with multiple ways to layout content. Equal width, specific width, dynamic and self adjusting columns. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-basic">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Equal width</div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col">1 of 2</div>
                <div class="mbsc-col">2 of 2</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col">1 of 4</div>
                <div class="mbsc-col">2 of 4</div>
                <div class="mbsc-col">3 of 4</div>
                <div class="mbsc-col">4 of 4</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Specific width</div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-8">col 8</div>
                <div class="mbsc-col-4">col 4</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-3">col 3</div>
                <div class="mbsc-col-6">col 6</div>
                <div class="mbsc-col-3">col 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Setting one column</div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-4">col 4</div>
                <div class="mbsc-col">col</div>
                <div class="mbsc-col">col</div>
                <div class="mbsc-col">col</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col">col</div>
                <div class="mbsc-col-5">col 5</div>
                <div class="mbsc-col">col</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Dynamic width</div>
        <div class="mbsc-grid mbsc-grid-sm">
            <div class="mbsc-row">
                <div class="mbsc-col-sm-auto">auto width column</div>
                <div class="mbsc-col">col</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col">col</div>
                <div class="mbsc-col-sm-auto">auto width column</div>
                <div class="mbsc-col">col</div>
            </div>
        </div>
    </div>
</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
AngularJS Grid system with multiple ways to vertically align content. Layout at the start, center or the end of the grid. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-vertical">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Items aligned to start</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-align-items-start">
                <div class="mbsc-col">1 of 3</div>
                <div class="mbsc-col">2 of 3</div>
                <div class="mbsc-col">3 of 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Items aligned to center</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-align-items-center">
                <div class="mbsc-col">1 of 3</div>
                <div class="mbsc-col">2 of 3</div>
                <div class="mbsc-col">3 of 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Items aligned to end</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-align-items-end">
                <div class="mbsc-col">1 of 3</div>
                <div class="mbsc-col">2 of 3</div>
                <div class="mbsc-col">3 of 3</div>
            </div>
        </div>
    </div>
</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
AngularJS Grid system with multiple ways to horizontally align content. Push to start, middle, end or justify around/in-between. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-horizontal">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justify content to start</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-justify-content-start">
                <div class="mbsc-col-3">1 of 3</div>
                <div class="mbsc-col-3">2 of 3</div>
                <div class="mbsc-col-3">3 of 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justify content to center</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-justify-content-center">
                <div class="mbsc-col-3">1 of 3</div>
                <div class="mbsc-col-3">2 of 3</div>
                <div class="mbsc-col-3">3 of 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justify content to end</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-justify-content-end">
                <div class="mbsc-col-3">1 of 3</div>
                <div class="mbsc-col-3">2 of 3</div>
                <div class="mbsc-col-3">3 of 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justify content around</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-justify-content-around">
                <div class="mbsc-col-3">1 of 3</div>
                <div class="mbsc-col-3">2 of 3</div>
                <div class="mbsc-col-3">3 of 3</div>
            </div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justify content between</div>
        <div class="mbsc-grid">
            <div class="mbsc-row mbsc-justify-content-between">
                <div class="mbsc-col-3">1 of 3</div>
                <div class="mbsc-col-3">2 of 3</div>
                <div class="mbsc-col-3">3 of 3</div>
            </div>
        </div>
    </div>
</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
AngularJS Grid layout example for pushing content with column offsets. Adjust the left margin with as much as needed. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-offset">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Offsetting columns</div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-4">1 of 2</div>
                <div class="mbsc-col-4 mbsc-offset-4">2 of 2</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-3  mbsc-offset-3">1 of 2</div>
                <div class="mbsc-col-3  mbsc-offset-3">2 of 2</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-6  mbsc-offset-3">1 of 1</div>
            </div>
        </div>
    </div>
</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
AngularJS Grid system with responsive re-arranging content using push and pull features. Specify behavior on breakpoints. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-push-pull">
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">You can change the order of the columns with the push and pull attributes.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Push and pull</div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-4 mbsc-push-lg-8">This is the first column</div>
                <div class="mbsc-col-8 mbsc-pull-lg-4">This is the second column</div>
            </div>
        </div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-12 mbsc-col-md-6 mbsc-push-md-6">This is the first column</div>
                <div class="mbsc-col-12 mbsc-col-md-6 mbsc-pull-md-6">This is the second column</div>
            </div>
        </div>
    </div>
</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
AngularJS Responsive grid system showing off different methods for laying out content based on breakpoints or without it. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-responsive">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Responsive classes</div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 1</div>
                <div class="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 2</div>
                <div class="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 3</div>
                <div class="mbsc-col-12 mbsc-col-md-6 mbsc-col-lg-3">Column 4</div>
            </div>
        </div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col">Column 1</div>
                <div class="mbsc-col">Column 2</div>
                <div class="mbsc-col">Column 3</div>
            </div>
        </div>
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-auto">This column has auto-width</div>
                <div class="mbsc-col">Second column</div>
            </div>
        </div>
    </div>
</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
AngularJS Grid layout demo with fixed width container. Depending on the screen-size, the responsive container gets a fixed width. For AngularJS (1.x) and Ionic 1.
// Code not available for AngularJS
<div mobiscroll-form class="md-grid-fixed">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Fixed width layout</div>
        <div class="mbsc-grid-fixed">
            <div class="mbsc-row">
                <div class="mbsc-col">1 of 2</div>
                <div class="mbsc-col">2 of 2</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-3">col 3</div>
                <div class="mbsc-col-6">col 6</div>
                <div class="mbsc-col-3">col 3</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-4">col 4</div>
                <div class="mbsc-col">col</div>
                <div class="mbsc-col">col</div>
                <div class="mbsc-col">col</div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-auto">auto width column</div>
                <div class="mbsc-col">col</div>
            </div>
        </div>
    </div>
</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 Angular JS & Ionic 1 $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 AngularJS $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