Forms for Angular JS and Ionic 1

Learn more

Form components you’ll need for building great looking mobile and desktop apps. Shipping 15 distinct elements ranging from inputs to layout helpers.

With useful features for a refined UX, including the following elements:

  • Single and multiline text
  • Select styling
  • Buttons
  • Segmented control
  • Checkbox and checklist
  • Radio buttons
  • Switch
  • Rating
  • Stepper
  • Page & typography
  • Slider
  • Progress
  • Alerts
  • Notifications
  • Notes


Forms demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Popup - Basic

Change demo
Basic
AngularJS Popup demo with user profile and radio button list return value. Combine different elements into a widget. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form', 'mobiscroll-listview'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.options = [{
            text: 'Wifi',
            icon: 'connection'
        }, {
            text: 'Location',
            icon: 'location'
        }, {
            text: 'Sound',
            icon: 'volume-medium'
        }, {
            text: 'Rotation',
            icon: 'fa-rotate-left'
        }, {
            text: 'Bluetooth',
            icon: 'ion-bluetooth'
        }, {
            text: 'Settings',
            icon: 'cogs'
        }, {
            text: 'Reading',
            icon: 'user4'
        }, {
            text: 'Data',
            icon: 'download'
        }, {
            text: 'Eye comfort',
            icon: 'eye'
        }, {
            text: 'Screenshot',
            icon: 'mobile'
        }, {
            text: 'Airplane Mode',
            icon: 'airplane'
        }, {
            text: 'Alarm',
            icon: 'alarm2'
        }, {
            text: 'Messages',
            icon: 'material-message'
        }, {
            text: 'Weather',
            icon: 'meteo-weather4'
        }, {
            text: 'Camera',
            icon: 'camera'
        }, {
            text: 'Edit',
            icon: 'material-photo-size-select-large'
        }]

        $scope.settings = {
            display: 'center'
        };

        $scope.listSettings = {
            display: 'center',
            onSet: function (event, inst) {
                $scope.$apply(function () {
                    $scope.checked = $scope.update;
                });
            }
        };
        $scope.scrollableSettings = {
            display: 'center',
            scrollLock: false,
            cssClass: 'mbsc-no-padding md-content-scroll',
            buttons: []
        };

        $scope.lvSettings = {
            enhance: true,
            swipe: false,
            onItemTap: function (event, inst) {
                var target = angular.element(event.target).clone();
                target.children().remove();
                var text = target.text();
                mobiscroll.toast({
                    message: text + ' clicked'
                });
            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Without return value</div>
            <div class="mbsc-btn-group-block">
                <button mbsc-button ng-click="popup.show()">Show Popup</button>
            </div>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">With return value</div>
            <label> Update
                <input mbsc-input ng-click="list.show()" value={{checked}} placeholder="Please Select..." readonly />
            </label>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">With scrollable content</div>
            <div class="mbsc-btn-group-block">
                <button mbsc-button ng-click="scrollable.show()">Show Popup</button>
            </div>
        </div>
    </div>

    <div ng-model="mypopup" mobiscroll-popup="settings" mobiscroll-instance="popup" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/f1.png">
            <h3>Liza Taylor</h3>
            <p>liza.taylor@mobiscroll.com <br> (202) 555-0127</p>
        </div>
    </div>

    <div ng-model="myradio" mobiscroll-popup="listSettings" mobiscroll-instance="list" class="mbsc-cloak">
        <div mobiscroll-form="formSettings">
            <div class="mbsc-form-group-inset">
                <p>Some updates are available for you. <br> When would you like to install them?</p>
            </div>
            <div class="mbsc-form-group-inset">
                <label>
                    <input mbsc-radio ng-model="update" type="radio" value="Right now" checked /> Right now
                </label>
                <label>
                    <input mbsc-radio ng-model="update" type="radio" value="Later on today" /> Later on today
                </label>
                <label>
                    <input mbsc-radio ng-model="update" type="radio" value="Remind me tomorrow" /> Remind me tomorrow
                </label>
            </div>
        </div>
    </div>

    <div ng-model="myscrollable" mobiscroll-popup="scrollableSettings" mobiscroll-instance="scrollable" class="mbsc-cloak">
        <ul mobiscroll-listview="lvSettings" mobiscroll-data="options">
            <li data-icon="{{item.icon}}" ng-click="scrollable.hide()">{{item.text}}</li>
        </ul>
    </div>
</div>
.md-content-scroll .mbsc-fr-c {
    height: 400px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

Popup - Signup and login

Change demo
Signup and login
AngularJS Popup demo with sign up and login forms. Use it with center, anchored bubble or top/bottom display. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.registerSettings = {
            display: 'center',
            buttons: [{
                text: 'Sign Up',
                handler: 'set'
            }]
        };

        $scope.loginSettings = {
            display: 'center',
            buttons: [{
                text: 'Log In',
                handler: 'set'
            }]
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-btn-group-block">
                <button mbsc-button ng-click="register.show()">Show register form</button>
                <button mbsc-button ng-click="login.show()">Show login form</button>
            </div>
        </div>
    </div>

    <div ng-model="myregister" mobiscroll-popup="registerSettings" mobiscroll-instance="register" class="mbsc-cloak">
        <div mobiscroll-form="formSettings">
            <div class="mbsc-form-group-inset">
                <label>
                    <input mbsc-input type="text" name="name" placeholder="Name" />
                </label>
                <label>
                    <input mbsc-input type="text" name="email" placeholder="Email" />
                </label>
                <label>
                    <input mbsc-input name="password" type="text" placeholder="Password" data-password-toggle="true" data-icon-show="eye" data-icon-hide="eye-blocked" />
                </label>
            </div>
        </div>
    </div>

    <div ng-model="mylogin" mobiscroll-popup="loginSettings" mobiscroll-instance="login" class="mbsc-cloak">
        <div mobiscroll-form="formSettings">
            <div class="mbsc-form-group-inset">
                <label>
                    <input mbsc-input type="text" name="email" placeholder="Email" />
                </label>
                <label>
                    <input mbsc-input name="password" type="text" placeholder="Password" data-password-toggle="true" data-icon-show="eye" data-icon-hide="eye-blocked" />
                </label>
            </div>
            <div class="mbsc-align-center">or log in with one of your existing accounts</div>
            <div class="mbsc-form-group-inset">
                <button mbsc-button class="mbsc-btn-block" ng-click="login.hide()" style="background:#3c5c9a;color:#fff;">
                    <span class="mbsc-ic mbsc-ic-ion-social-facebook mbsc-pull-left"></span>
                    Log in with Facebook
                </button>
                <button mbsc-button class="mbsc-btn-block" ng-click="login.hide()" style="background:#28aae1;color:#fff;">
                    <span class="mbsc-ic mbsc-ic-fa-twitter mbsc-pull-left"></span>
                    Log in with Twitter
                </button>
                <button mbsc-button class="mbsc-btn-block" ng-click="login.hide()" style="background:#d34230;color:#fff;">
                    <span class="mbsc-ic mbsc-ic-fa-google mbsc-pull-left"></span>
                    Log in with Google
                </button>
            </div>
        </div>
    </div>
</div>
.md-social-btn .mbsc-ic {
    float: left;
}

Popup - Sheet list & grid

Change demo
Sheet list & grid
AngularJS Popup with scrollable sheet grid view or sheet list view. Provide contextual actions and shortcuts. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form', 'mobiscroll-listview', 'mobiscroll-optionlist'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.actions = [{
            header: true,
            text: 'Actions'
        }, {
            text: 'Share',
            icon: 'share'
        }, {
            text: 'Upload',
            icon: 'cloud-upload'
        }, {
            text: 'Copy',
            icon: 'copy3'
        }, {
            text: 'Print',
            icon: 'print'
        }];

        $scope.options = [{
            text: 'Facebook',
            icon: 'ion-social-facebook'
        }, {
            text: 'Twitter',
            icon: 'fa-twitter'
        }, {
            text: 'Google plus',
            icon: 'fa-google-plus'
        }, {
            text: 'Email',
            icon: 'ion-email'
        }, {
            text: 'Message',
            icon: 'bubble'
        }, {
            text: 'Copy',
            icon: 'copy3'
        }]

        $scope.listSettings = {
            buttons: [],
            display: 'bottom',
            cssClass: 'mbsc-no-padding'
        };

        $scope.gridSettings = {
            buttons: [],
            display: 'bottom',
            cssClass: 'mbsc-no-padding'
        };

        $scope.lvSettings = {
            enhance: true,
            swipe: false,
            onItemTap: function (event, inst) {
                var target = angular.element(event.target).clone();
                target.children().remove();
                var text = target.text();
                mobiscroll.toast({
                    message: text + ' clicked'
                });
            }
        }

        $scope.opSettings = {
            type: 'menu',
            select: 'single',
            snap: true,
            itemWidth: 80,
            display: 'inline',
            cssClass: 'md-bottom-grid',
            onItemTap: function (event, inst) {
                mobiscroll.toast({
                    message: angular.element(event.target).text() + ' clicked'
                });
            }
        }
    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-btn-group-block">
                <button mbsc-button ng-click="list.show()">Show sheet list</button>
                <button mbsc-button ng-click="grid.show()">Show sheet grid</button>
            </div>
        </div>
    </div>

    <div ng-model="mylist" mobiscroll-popup="listSettings" mobiscroll-instance="list" class="mbsc-cloak">
        <ul mobiscroll-listview="lvSettings" mobiscroll-data="actions" class="mbsc-cloak">
            <li data-role="{{ item.header ? 'list-divider' : '' }}" data-icon="{{item.icon}}" ng-click="list.hide()">{{item.text}}</li>
        </ul>
    </div>

    <div ng-model="mygird" mobiscroll-popup="gridSettings" mobiscroll-instance="grid" class="mbsc-cloak">
        <ul mobiscroll-optionlist="opSettings" class="mbsc-cloak">
            <li ng-repeat="item in options" data-id="{{$index}}" data-icon="{{item.icon}}" ng-click="grid.hide()">{{item.text}}</li>
        </ul>
    </div>
</div>
/* grid */

.md-bottom-grid.mbsc-ms-c {
    border: 0;
}

Popup - Lists

Change demo
Lists
AngularJS Pop-over with anchored display featuring horizontal, vertical lists and checklist. With source code. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form', 'mobiscroll-listview', 'mobiscroll-optionlist'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.options = [{
            text: 'Wifi',
            icon: 'connection'
        }, {
            text: 'Location',
            icon: 'location'
        }, {
            text: 'Sound',
            icon: 'volume-medium'
        }, {
            text: 'Rotation',
            icon: 'fa-rotate-left'
        }, {
            text: 'Bluetooth',
            icon: 'ion-bluetooth'
        }, {
            text: 'Settings',
            icon: 'cogs'
        }, {
            text: 'Reading',
            icon: 'user4'
        }, {
            text: 'Data',
            icon: 'download'
        }]

        $scope.horizontalSettings = {
            display: 'bubble',
            anchor: '#showHorizontal',
            buttons: [],
            cssClass: 'mbsc-no-padding'
        };

        $scope.verticalSettings = {
            display: 'bubble',
            anchor: '#showVertical',
            buttons: [],
            cssClass: 'mbsc-no-padding md-vertical-list'
        };

        $scope.checkSettings = {
            display: 'bubble',
            anchor: '#showChecklist',
            buttons: [],
            cssClass: 'mbsc-no-padding md-vertical-list'
        };

        $scope.opSettings = {
            type: 'menu',
            snap: true,
            itemWidth: 80,
            display: 'inline',
            cssClass: 'md-no-border-grid',
            onItemTap: function (event, inst) {
                mobiscroll.toast({
                    message: angular.element(event.target).text() + ' clicked'
                });
            }
        }

        $scope.lvSettings = {
            enhance: true,
            swipe: false,
            onItemTap: function (event, inst) {
                var target = angular.element(event.target).clone();
                target.children().remove();
                var text = target.text();
                mobiscroll.toast({
                    message: text + ' clicked'
                });
            }
        }

        $scope.checklistSettings = {
            enhance: true,
            swipe: false
        }
    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-btn-group-block">
                <button mbsc-button id="showHorizontal" ng-click="horizontal.show()">Show horizontal list</button>
                <button mbsc-button id="showVertical" ng-click="vertical.show()">Show vertical list</button>
                <button mbsc-button id="showChecklist" ng-click="checklist.show()">Show checklist</button>
            </div>
        </div>
    </div>

    <div ng-model="myhorizontal" mobiscroll-popup="horizontalSettings" mobiscroll-instance="horizontal" class="mbsc-cloak">
        <ul mobiscroll-optionlist="opSettings" class="mbsc-cloak">
            <li ng-repeat="item in options" data-id="{{$index}}" data-icon="{{item.icon}}" ng-click="horizontal.hide()">{{item.text}}</li>
        </ul>
    </div>

    <div ng-model="myvertical" mobiscroll-popup="verticalSettings" mobiscroll-instance="vertical" class="mbsc-cloak">
        <ul mobiscroll-listview="lvSettings" mobiscroll-data="options">
            <li data-icon="{{item.icon}}" ng-click="vertical.hide()">{{item.text}}</li>
        </ul>
    </div>

    <div ng-model="mychecklist" mobiscroll-popup="checkSettings" mobiscroll-instance="checklist" class="mbsc-cloak">
        <ul mobiscroll-listview="checklistSettings" mobiscroll-data="options">
            <li data-icon="{{item.icon}}"><input mbsc-checkbox type="checkbox" />{{item.text}}</li>
        </ul>
    </div>
</div>
.md-vertical-list.mbsc-ios .mbsc-fr-arr {
    background: #fff;
}

.md-vertical-list.mbsc-ios-dark .mbsc-fr-arr {
    background: #0f0f0f;
}

.md-no-border-grid.mbsc-ms-c {
    border: 0;
}

Popup - User popover

Change demo
User popover
AngularJS Pop-over demo with display on hover. Use it to provide more information for highlighted elements or text. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            display: 'bubble',
            anchor: '#link',
            buttons: []
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form="formSettings">
        <div class="mbsc-padding">
            <div class="mbsc-form-group">
                <p>
                    Meet web developer <a id="link" style="cursor:pointer;text-decoration:underline;" ng-mouseover="popup.show()">Liza</a> who designs and builds websites. She is responsible for the appearance, of the site and technical aspects, such
                    as site speed and how much traffic the site can handle. She also creates site content that requires technical features.
                </p>
            </div>
        </div>
    </div>

    <div ng-model="mypopup" mobiscroll-popup="settings" mobiscroll-instance="popup" ng-mouseleave="popup.hide()" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/f1.png">
            <h3>Liza Taylor</h3>
            <p>liza.taylor@mobiscroll.com <br> (202) 555-0127</p>
        </div>
    </div>
</div>

Popup - Advanced widgets

Change demo
Advanced widgets
AngularJS Popup widget demo with combined segmented control/tabs and time picker. Combine controls for advanced functionality. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form', 'mobiscroll-datetime'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.day = 'today';
        $scope.time = new Date();

        $scope.popupSettings = {
            cssClass: 'md-advanced-popup',
            buttons: ['set', 'cancel'],
            onSet: function () {
                var day = $scope.day,
                    today = $scope.time,
                    tempToday = new Date(today.setSeconds(0)),
                    tomorrow = new Date(tempToday.setDate(tempToday.getDate() + 1)),
                    selectedTime = day == 'today' ? today : tomorrow;

                $scope.$apply(function () {
                    $scope.selectedTime = selectedTime.toLocaleString()
                });
            }
        };

        $scope.timeSettings = {
            display: 'inline',
            steps: { minute: 15 },
            onMarkupReady: function (ev, inst) {
                ev.target.classList.add('mbsc-fr-bottom');
                ev.target.classList.remove('mbsc-fr-inline');
            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">

    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Select time</div>
            <label> Date & Time
                <input mbsc-input ng-model="selectedTime" ng-click="popupInst.show()" placeholder="Please select...">
            </label>
        </div>
    </div>

    <div ng-model="popup" mobiscroll-popup="popupSettings" mobiscroll-instance="popupInst" class="mbsc-cloak">
        <div mobiscroll-form>
            <label>
                Today
                <input mbsc-segmented type="radio" data-role="segmented" name="day" ng-model="day" value="today">
            </label>
            <label>
                Tomorrow
                <input mbsc-segmented type="radio" data-role="segmented" name="day" ng-model="day" value="tomorrow">
            </label>
            <div mobiscroll-time="timeSettings" ng-model="time"></div>
        </div>
    </div>

</div>
/* Needed for the time picker, because we removed the mbsc-fr-inline class below */

.md-advanced-popup .mbsc-fr,
.md-advanced-popup .mbsc-fr .mbsc-fr-popup {
    position: static;
    border: 0;
    pointer-events: auto;
    box-shadow: none;
}

/* Theme overrides */

.md-advanced-popup.mbsc-ios .mbsc-segmented,
.md-advanced-popup.mbsc-ios .mbsc-segmented-content {
    background: #d1d5db;
}

.md-advanced-popup.mbsc-ios-dark .mbsc-segmented,
.md-advanced-popup.mbsc-ios-dark .mbsc-segmented-content {
    background: #080808;
}

.md-advanced-popup.mbsc-windows .mbsc-segmented,
.md-advanced-popup.mbsc-windows .mbsc-segmented-content {
    background: #f2f2f2;
}

.md-advanced-popup.mbsc-windows-dark .mbsc-segmented,
.md-advanced-popup.mbsc-windows-dark .mbsc-segmented-content {
    background: #1a1a1a;
}

Popup - Configure buttons

Change demo
Configure buttons
AngularJS Popup demo with different button configurations. Use it with or without buttons. Add custom actions. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.noButtonSettings = {
            display: 'center',
            buttons: []
        };

        $scope.defaultSettings = {
            display: 'center'
        };

        $scope.customSettings = {
            display: 'center',
            buttons: [
                'set',
                {
                    text: 'Custom',
                    icon: 'checkmark',
                    handler: function (event, inst) {
                        inst.hide();
                        mobiscroll.toast({
                            message: ' Custom button clicked'
                        });
                    }
                },
                'cancel'
            ]
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-btn-group-block">
                <button mbsc-button ng-click="noButton.show()">No button</button>
                <button mbsc-button ng-click="defaultButton.show()">Default</button>
                <button mbsc-button ng-click="customButtons.show()">Custom buttons</buttom>
            </div>
        </div>
    </div>

    <div ng-model="myNoButton" mobiscroll-popup="noButtonSettings" mobiscroll-instance="noButton" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <h3 class="md-text-center">Hi!</h3>
            <p class="md-text-center">This is a popup with no buttons</p>
        </div>
    </div>
    
    <div ng-model="myDefaultButton" mobiscroll-popup="defaultSettings" mobiscroll-instance="defaultButton" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <h3 class="md-text-center">Hi there!</h3>
            <p class="md-text-center">This is a popup with default button</p>
        </div>
    </div>
    
    <div ng-model="myCustomButtons" mobiscroll-popup="customSettings" mobiscroll-instance="customButtons" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <h3 class="md-text-center">Hi again!</h3>
            <p class="md-text-center">This is a popup with three custom buttons</p>
        </div>
    </div>
</div>

Forms - Embedded forms

Change demo
Embedded forms

You can place forms not just on simple pages, but they can be embedded into different containers depending on the layout.

Use them within cards or place them on pop-overs.

mobiscroll.settings = {
    lang: '',
    theme: ''
}

angular
    .module('demoApp', ['mobiscroll-form', 'mobiscroll-cards', 'mobiscroll-popup'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.popupSettings = {
            display: 'center',
            cssClass: 'mbsc-no-padding',
            buttons: [{
                    text: 'Submit',
                    handler: 'set'
                },
                'cancel'
            ]
        }

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div class="mbsc-note mbsc-note-secondary">Embed forms in cards or any layout element. 👇</div>
    <mobiscroll-card>
        <mobiscroll-card-header>
            <mobiscroll-card-title>Confirm Purchase</mobiscroll-card-title>
        </mobiscroll-card-header>
        <mobiscroll-card-content>
            <label>
                Name
                <input data-label-style="inline" type="text" placeholder="Required" />
            </label>
            <label>
                Card
                <input data-label-style="inline" type="text" placeholder="Credit card number" />
            </label>
            <label>
                Expiration
                <input type="text" placeholder="Required" />
            </label>
            <label>
                Security
                <input data-label-style="inline" type="text" placeholder="3-digit CVV" />
            </label>
        </mobiscroll-card-content>
        <div class="mbsc-btn-group-block mbsc-padding">
            <button class="mbsc-btn-primary">Confirm</button>
        </div>
    </mobiscroll-card>
    <div class="mbsc-note mbsc-note-secondary">You can also use embedded forms in pop-overs. 👇</div>
    <div class="mbsc-btn-group-block">
        <button mbsc-button ng-click="popup.show()">Show popover with form</button>
    </div>
    <div ng-model="mypopup" mobiscroll-popup="popupSettings" mobiscroll-instance="popup">
        <div mobiscroll-form>
            <div class="mbsc-form-group-inset">
                <div class="mbsc-form-group-title">Personal information</div>
                <label>
                    Name
                    <input mbsc-input data-label-style="inline" type="text" placeholder="John Doe" />
                </label>
                <label>
                    Email
                    <input mbsc-input data-label-style="inline" type="text" placeholder="john@email.com" />
                </label>
                <label>
                    Address
                    <input mbsc-input data-label-style="inline" type="text" placeholder="28 Darwin Street" />
                </label>
                <label>
                    City
                    <input mbsc-input data-label-style="inline" type="text" placeholder="Liverpool" />
                </label>
            </div>
        </div>
    </div>
</div>

Popup - Display modes

Change demo
Display modes
AngularJS Popup demo with top/bottom center and anchored bubble display modes. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.bottomSettings = {
            display: 'bottom',
            buttons: [{
                    text: 'Ok',
                    handler: 'set'
                },
                'cancel'
            ]
        };

        $scope.topSettings = {
            display: 'top',
            buttons: [{
                    text: 'Ok',
                    handler: 'set'
                },
                'cancel'
            ]
        };

        $scope.centerSettings = {
            display: 'center',
            buttons: [{
                    text: 'Ok',
                    handler: 'set'
                },
                'cancel'
            ]
        };

        $scope.bubbleSettings = {
            display: 'bubble',
            anchor: '#show-bubble',
            buttons: [{
                    text: 'Ok',
                    handler: 'set'
                },
                'cancel'
            ]
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Try different display modes</div>
        </div>
        <div class="mbsc-form-group mbsc-btn-group-block">
            <button mbsc-button ng-click="bottomDemo.show()">Try bottom display mode</button>
            <button mbsc-button ng-click="topDemo.show()">Try top display mode</button>
            <button mbsc-button ng-click="centerDemo.show()">Try center display mode</button>
            <button mbsc-button id="show-bubble" ng-click="bubbleDemo.show()">Try bubble display mode</button>
        </div>
    </div>

    <div ng-model="myPopup" mobiscroll-popup="bottomSettings" mobiscroll-instance="bottomDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="myPopupTop" mobiscroll-popup="topSettings" mobiscroll-instance="topDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="myPopupCenter" mobiscroll-popup="centerSettings" mobiscroll-instance="centerDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="myPopupBubble" mobiscroll-popup="bubbleSettings" mobiscroll-instance="bubbleDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
</div>

Popup - Theming capabilities

Change demo
Theming capabilities

Forms can be themed and customized. There are four levels of customization:

  • Base themes: Choose between Mobiscroll, iOS, Android Material and Windows.
  • Light or dark: Every theme has a light and dark variant.
  • Custom themes: Use the theme builder to customize the colors and make it match your brand.
  • Custom Sass and CSS: If you need further customization, the sky is the limit with Sass and CSS overrides.

You can also see how the other demos look by changing the theme in the floating action bar on the right side (not this example, the themes are hardcoded here).

mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.iosSettings = {
            theme: 'ios',
            display: 'center',
            touchUi: false
        };

        $scope.iosDarkSettings = {
            theme: 'ios-dark',
            display: 'center',
            touchUi: false
        };
        
        $scope.iosCustomSettings = {
            theme: 'ios-gray',
            display: 'center',
            touchUi: false
        };

        $scope.materialSettings = {
            theme: 'material',
            display: 'center',
            touchUi: false,
        };

        $scope.materialDarkSettings = {
            theme: 'material-dark',
            display: 'center',
            touchUi: false
        };
        
        $scope.materialCustomSettings = {
            theme: 'material-indigo',
            display: 'center',
            touchUi: false
        };

        $scope.windowsSettings = {
            theme: 'windows',
            display: 'center',
            touchUi: false
        };

        $scope.windowsDarkSettings = {
            theme: 'windows-dark',
            display: 'center',
            touchUi: false
        };

        $scope.windowsCustomSettings = {
            theme: 'windows-yellow',
            display: 'center',
            touchUi: false
        };

        $scope.mobiscrollSettings = {
            theme: 'mobiscroll',
            display: 'center',
            touchUi: false
        };

        $scope.mobiscrollDarkSettings = {
            theme: 'mobiscroll-dark',
            display: 'center',
            touchUi: false
        };
        
        $scope.mobiscrollCustomSettings = {
            theme: 'mobiscroll-lime',
            display: 'center',
            touchUi: false
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-grid mbsc-grid-fixed">
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">iOS Theme</div>
                        <div class="mbsc-btn-group-block">
                            <button mbsc-button ng-click="iosDemo.show()">iOS Light Theme</button>
                            <button mbsc-button ng-click="iosDarkDemo.show()">iOS Dark Theme</button>
                            <button mbsc-button ng-click="iosCustomDemo.show()">iOS Custom Theme</button>
                        </div>
                    </div>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">Material Theme</div>
                        <div class="mbsc-btn-group-block">
                            <button mbsc-button ng-click="materialDemo.show()">Material Light Theme</button>
                            <button mbsc-button ng-click="materialDarkDemo.show()">Material Dark Theme</button>
                            <button mbsc-button ng-click="materialCustomDemo.show()">Material Custom Theme</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">Windows Theme</div>
                        <div class="mbsc-btn-group-block">
                            <button mbsc-button ng-click="windowsDemo.show()">Windows Light Theme</button>
                            <button mbsc-button ng-click="windowsDarkDemo.show()">Windows Dark Theme</button>
                            <button mbsc-button ng-click="windowsCustomDemo.show()">Windows Custom Theme</button>
                        </div>
                    </div>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">Mobiscroll Theme</div>
                        <div class="mbsc-btn-group-block">
                            <button mbsc-button ng-click="mobiscrollDemo.show()">Mobiscroll Light Theme</button>
                            <button mbsc-button ng-click="mobiscrollDarkDemo.show()">Mobiscroll Dark Theme</button>
                            <button mbsc-button ng-click="mobiscrollCustomDemo.show()">Mobiscroll Custom Theme</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div ng-model="iosPopup" mobiscroll-popup="iosSettings" mobiscroll-instance="iosDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="iosDarkPopup" mobiscroll-popup="iosDarkSettings" mobiscroll-instance="iosDarkDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
    
    <div ng-model="iosCustomPopup" mobiscroll-popup="iosCustomSettings" mobiscroll-instance="iosCustomDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="materialPopup" mobiscroll-popup="materialSettings" mobiscroll-instance="materialDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="materialDarkPopup" mobiscroll-popup="materialDarkSettings" mobiscroll-instance="materialDarkDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
    
    <div ng-model="materialCustomPopup" mobiscroll-popup="materialCustomSettings" mobiscroll-instance="materialCustomDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="windowsPopup" mobiscroll-popup="windowsSettings" mobiscroll-instance="windowsDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="windowsDarkPopup" mobiscroll-popup="windowsDarkSettings" mobiscroll-instance="windowsDarkDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
    
    <div ng-model="windowsCustomPopup" mobiscroll-popup="windowsCustomSettings" mobiscroll-instance="windowsCustomDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="mobiscrollPopup" mobiscroll-popup="mobiscrollSettings" mobiscroll-instance="mobiscrollDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>

    <div ng-model="mobiscrollDarkPopup" mobiscroll-popup="mobiscrollDarkSettings" mobiscroll-instance="mobiscrollDarkDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
    
    <div ng-model="mobiscrollCustomPopup" mobiscroll-popup="mobiscrollCustomSettings" mobiscroll-instance="mobiscrollCustomDemo" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
</div>

Popup - Event handlers

Change demo
Event handlers
AngularJS Popup demo with event hooks for custom integration and functionality. Use event handlers to customize flows. For AngularJS (1.x) and Ionic 1.
Clear event log
EVENTS FIRED: 
mobiscroll.settings = {
    theme: '',
    lang: ''
};

angular
    .module('demoApp', ['mobiscroll-popup', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            lang: '',
            display: 'center',
            buttons: [{
                    text: 'Ok',
                    handler: 'set'
                },
                'cancel'
            ],
            onInit: function (event, inst) {
                // Your custom event handler goes here
            },
            onMarkupReady: function (event, inst) {
                // Your custom event handler goes here
            },
            onBeforeShow: function (event, inst) {
                // Your custom event handler goes here
            },
            onPosition: function (event, inst) {
                // Your custom event handler goes here
            },
            onShow: function (event, inst) {
                // Your custom event handler goes here
            },
            onDestroy: function (event, inst) {
                // Your custom event handler goes here
            },
            onClose: function (event, inst) {
                // Your custom event handler goes here
            },
            onCancel: function (event, inst) {
                // Your custom event handler goes here
            },
            onBeforeClose: function (event, inst) {
                // Your custom event handler goes here
            },
            onSet: function (event, inst) {
                // Your custom event handler goes here
            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <div class="mbsc-form-group">
            <div class="mbsc-btn-group-block">
                <button mbsc-button ng-click="popup.show()">Show popup</button>
            </div>
        </div>
    </div>
    <div ng-model="mypopup" mobiscroll-popup="settings" mobiscroll-instance="popup" class="mbsc-cloak">
        <div class="mbsc-align-center mbsc-padding">
            <img src="https://img.mobiscroll.com/demos/logo-noshadow.jpg">
            <h4>Welcome on our website!</h4>
            <p>Have fun navigating through the demos.</p>
        </div>
    </div>
</div>

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/8 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 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 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/8 or Ionic 2/3/4.

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

Do you need additional support seats?

The license comes with one support seat. ( +$100/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

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.

Copy TS
Copy HTML
Copy CSS
Copy Module

Step 4.Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve

And voilà, everything should be running smoothly.

Customize & try demos locally
How would you like to do it?
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 Angular project

Copy command
$ mobiscroll config angular
$ mobiscroll config angular --lite

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

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

Copy TS
Copy HTML
Copy CSS
Copy Module

Step 4.Run ng serve in the root folder of your app 🎉

Copy command
$ ng serve

And voilà, everything should be running smoothly.

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.

Please extract the zip file and simply open the demos in your favorite browser. For instructions on how to install Mobiscroll in your project follow this guide.


Let us know if we can help and enjoy!

Thanks for downloading
Customize demos locally

Please extract the zip file and run the project like any Angular CLI app. Make sure to have the Angular CLI installed.

For installation and usage, extract the zip file and open a terminal window and follow these steps.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ng serve --open

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

The demos are using Babel's in-browser ES6 and JSX transformer.

Please extract the zip file and open the demos in your browser. For instructions on how to install Mobiscroll in your project follow this guide.


Let us know if we can help and enjoy!

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 27
Cards 14
Collapsible 3
Color 10
Date & Time 20
Event Calendar 25
Forms 13
Grid layout 7
Image 7
Inputs & fields 6
Listview 18
Measurement 10
Navigation 8
Number 8
Numpad 14
Option List 4
Popup 10
Range 19
Scroller 7
Scrollview 5
Select 18
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