Angular JS Numpad Numpad for Angular JS and Ionic 1

Numpad for Angular JS and Ionic 1

Learn more
light
dark

Change the theme setting here

Numpad - Decimal

Change demo
Decimal
AngularJS Numeric keypad decimal value entry with double scale featuring min/max value validation. With source code. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            min: 1,
            scale: 2,
            preset: 'decimal'
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select ..." />

</div>

Numpad - Currency

Change demo
Currency
AngularJS Numeric keypad monetary value entry with double scale featuring min/max and validation. With source code. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    theme: '',
    themeVariant: '',
    lang: ''
};

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

        $scope.numpadSettings = {
            preset: 'decimal',
            min: 5,
            max: 500,
            prefix: '$'
        };

        $scope.price = 20;

    }]);
<div class="md-currency">
    <div ng-app="demoApp" ng-controller="demoController">
        <div mobiscroll-form class="md-stepper-np">
            <div class="mbsc-padding md-demo">
                <h4 class="md-title">Automatically top up account</h4>
                <div class="mbsc-desc ">Top up from credit card if account falls bellow $10</div>
                <div class="mbsc-form-group-inset">
                    <div>
                        <input mbsc-stepper type="number" ng-model="price" min="10" max="120" step="10" ng-click="numpadInst.show()" readonly />
                    </div>
                </div>
                <div class="md-numpad" mobiscroll-numpad="numpadSettings" ng-model="price" mobiscroll-instance="numpadInst"></div>
                <button mbsc-button class="mbsc-btn-block">Save Settings</button>
            </div>
        </div>
    </div>
</div>

.md-stepper-np .md-demo {
    text-align: center;
}

.md-stepper-np .md-demo .mbsc-desc {
    font-size: 16px;
    padding-bottom: 16px;
}

.md-stepper-np .md-demo .mbsc-btn {
    margin-top: 36px;
}

.md-stepper-np .md-title {
    margin-top: 40px;
}

.md-stepper-np {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.md-stepper-np .mbsc-segmented {
    left: 50%;
    margin-left: -122px;
}

.md-stepper-np .mbsc-stepper .mbsc-segmented-item {
    width: 4.375em;
}

.md-stepper-np .mbsc-stepper .mbsc-segmented-item:nth-child(3) {
    width: 6.25em;
}

.md-stepper-np .mbsc-stepper input {
    left: 5em;
    width: 7.1428em;
}

Numpad - Integer

Change demo
Integer
AngularJS Numeric keypad for integer value entry supporting negative and positive numbers and validation. With source code. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            preset: 'decimal',
            scale: 0,
            max: 9999,
            min: -9999
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select ..." />

</div>

Numpad - Timespan

Change demo
Timespan
AngularJS Numeric keypad demo for capturing hour minute and seconds. Great for setting timers and alarms. With source code. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            preset: 'timespan'
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select ..." />

</div>

Numpad - RTL Support

Change demo
RTL Support
AngularJS Numeric keypad RTL demo for right to left rendering & languages like Arabic, Hebrew, Farsi. With source code. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    theme: '',
    themeVariant: '',
    lang: ''
};

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

        $scope.arabicSettings = {
            lang: 'ar'
        };

        $scope.hebrewSettings = {
            lang: 'he'
        };

        $scope.farsiSettings = {
            lang: 'fa'
        };

        $scope.rtlSettings = {
            rtl: true
        };

        $scope.formSettings = {
            rtl: true
        }

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form="formSettings">
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">RTL enabled by default</div>
            <label>
                Arabic
                <input mbsc-input ng-model="arabic" mobiscroll-numpad="arabicSettings" placeholder="Please Select..." />
            </label>
            <label>
                Hebrew
                <input mbsc-input ng-model="hebrew" mobiscroll-numpad="hebrewSettings" placeholder="Please Select..." />
            </label>
            <label>
                Farsi
                <input mbsc-input ng-model="farsi" mobiscroll-numpad="farsiSettings" placeholder="Please Select..." />
            </label>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Manually set RTL</div>
            <label>
                RTL
                <input mbsc-input ng-model="rtl" mobiscroll-numpad="rtlSettings" placeholder="Please Select..." />
            </label>
        </div>
    </div>
</div>

Numpad - Time

Change demo
Time
AngularJS Numeric keypad demo for capturing time inputs. 12h and 24 hour format is supported. With source code. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    theme: '',
    themeVariant: '',
    lang: ''
};

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

        $scope.settings = {
            preset: 'time',
            timeFormat: 'HH:ii'
        };

        $scope.settings12h = {
            preset: 'time',
            timeFormat: 'HH:ii A'
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form="formSettings">
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Time formats</div>
            <label>
            24h format 
            <input mbsc-input ng-model="mytime" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select..." />
        </label>
            <label>
            12h format
            <input mbsc-input ng-model="mytime12h" mobiscroll-numpad="settings12h" mobiscroll-instance="demo" placeholder="Please Select..." />
        </label>
        </div>
    </div>
</div>

Numpad - Date

Change demo
Date
AngularJS Numeric keypad date entry demo with header text. Custom date format and validation is supported. With source code. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            preset: 'date',
            headerText: 'Next Schedule (mm/dd/yyyy)'
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select ..." />

</div>

Numpad - Masked Entry - PIN

Change demo
Masked Entry - PIN
AngularJS Numeric keypad PIN demo with masked input and value entry. Custom length PIN is supported. With source code. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            template: 'dddd',
            allowLeadingZero: true,
            placeholder: '-',
            mask: '*',
            validate: function (event, inst) {
                return {
                    invalid: event.values.length != 4
                };
            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select ..." />

</div>

Numpad - Phone number entry

Change demo
Phone number entry

Use the numpad for phone number entry. With built-in validation your users cannot go wrong.

Use the validate function to check for the appropriate length, format and only enable the set button if everything looks good.

With the help of the template setting, the formatValue and parseValue functions you can ensure the phone number is shown in the correct format, with all the dashes and spaces that make sense.

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

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

        $scope.dusSettings = {
            fill: 'ltr',
            template: '(ddd) ddd-dddd',
            allowLeadingZero: true,
            validate: function (event, inst) {
                if (inst.isVisible()) {
                    // Display the formatted value
                    inst._markup[0].querySelector('.mbsc-np-dsp').innerHTML = inst.settings.formatValue(event.values, event.variables, inst) || '&nbsp;';
                }

                return {
                    // Set the set button invalid until 10 chars filled
                    invalid: event.values.length != 10
                };
            },
            formatValue: function (numbers, variables, inst) {
                // Specify how the value will be formatted
                return (numbers.length > 2 ? '(' : '') + numbers.slice(0, 3).join('') + (numbers.length > 2 ? ') ' : '') + numbers.slice(3, 6).join('') + (numbers.length > 5 ? '-' : '') + numbers.slice(6, 10).join('');
            },
            parseValue: function (v, i) {
                if (v) {
                    return v.replace('(', '').replace(') ', '').replace('-', '');
                }
            }
        };

        $scope.iusSettings = {
            fill: 'ltr',
            template: '+1-ddd-ddd-dddd',
            allowLeadingZero: true,
            validate: function (event, inst) {
                if (inst.isVisible()) {
                    inst._markup[0].querySelector('.mbsc-np-dsp').innerHTML = inst.settings.formatValue(event.values, event.variables, inst) || '&nbsp;';
                }

                return {
                    invalid: event.values.length != 10
                };
            },
            formatValue: function (numbers, variables, inst) {
                return '+1-' + numbers.slice(0, 3).join('') + (numbers.length > 2 ? '-' : '') + numbers.slice(3, 6).join('') + (numbers.length > 5 ? '-' : '') + numbers.slice(6, 10).join('');
            },
            parseValue: function (v, i) {
                if (v) {
                    return v.replace('+1', '').replace(/-/gm, '');;
                }
            }
        };

        $scope.igeSettings = {
            fill: 'ltr',
            template: '+49-dd-ddd-ddddd',
            allowLeadingZero: true,
            validate: function (event, inst) {
                if (inst.isVisible()) {
                    inst._markup[0].querySelector('.mbsc-np-dsp').innerHTML = inst.settings.formatValue(event.values, event.variables, inst) || '&nbsp;';
                }

                return {
                    invalid: event.values.length != 10
                };
            },
            formatValue: function (numbers, variables, inst) {
                return '+49-' + numbers.slice(0, 2).join('') + (numbers.length > 1 ? '-' : '') + numbers.slice(2, 5).join('') + (numbers.length > 4 ? '-' : '') + numbers.slice(5, 10).join('');
            },
            parseValue: function (v, i) {
                if (v) {
                    return v.replace('+49', '').replace(/-/gm, '');
                }
            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form>
        <label>
            Domestic US
            <input mbsc-input ng-model="dus" mobiscroll-numpad="dusSettings" data-input-style="box" data-label-style="stacked" placeholder="Enter phone number..." />
        </label>
        <label>
            International US
            <input mbsc-input ng-model="ius" mobiscroll-numpad="iusSettings" data-input-style="box" data-label-style="stacked" placeholder="Enter phone number..." />
        </label>
        <label>
            International German
            <input mbsc-input ng-model="ige" mobiscroll-numpad="igeSettings" data-input-style="box" data-label-style="stacked" placeholder="Enter phone number..." />
        </label>
    </div>
</div>

Numpad - Variable Fraction

Change demo
Variable Fraction
AngularJS Numeric keypad demo for decimal value entry with variable scale, fraction length. With source code. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        var decimal = '.',
            thousands = ',';

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            template: 'ddddddddd',
            allowLeadingZero: true,
            parseValue: function (value) {
                if (value) {
                    return value.toString().replace(thousands, '').split('');
                }
                return [];
            },
            formatValue: function (numbers) {
                var ret = '',
                    l = numbers.length,
                    decimals,
                    i;

                // Add leading zeroes if necessary
                if (numbers[0] == '.') {
                    numbers.unshift(0);
                    l++;
                }

                ret = numbers.join('').split(decimal);

                ret[0] = ret[0].replace(/\B(?=(\d{3})+(?!\d))/g, thousands);

                return ret.join(decimal);
            },
            leftKey: {
                text: '.',
                value: '.'
            },
            validate: function (event, inst) {
                var s = inst.settings,
                    values = event.values,
                    disabledButtons = [],
                    invalid = false,
                    maxLength = 9,
                    maxScale = 9;

                if (values.length >= maxLength || values.indexOf(decimal) !== -1) {
                    disabledButtons.push(decimal);
                }

                if (values.length == 1 && values[0] === 0) {
                    for (var i = 1; i <= 9; i++) {
                        disabledButtons.push(i);
                    }
                }

                if (!values.length || values[values.length - 1] == decimal) {
                    invalid = true;
                }
                
                // Only allow max maxScale decimal values
                if (values.length > (maxScale + 1) && values[values.length - maxScale - 1] == decimal) {
                    for (var i = 0; i <= 9; i++) {
                        disabledButtons.push(i);
                    }
                }

                // Display the formatted value
                if (inst.isVisible()) {
                    inst._markup[0].querySelector('.mbsc-np-dsp').innerHTML = inst.settings.formatValue(values) || '&nbsp;';
                }

                return {
                    invalid: invalid,
                    disabled: disabledButtons
                };

            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select ..." />

</div>

Numpad - Donation

Change demo
Donation
AngularJS Mobile donation screen with predefined amounts and numeric keypad for custom value entry. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            min: 1,
            max: 10000,
            scale: 2,
            preset: 'decimal'
        };

    }]);
<div class="md-donation-cont">
    <div ng-app="demoApp" ng-controller="demoController">
        <div class="md-donation">
            <div class="md-header">Giving feels good</div>

            <img src="https://img.mobiscroll.com/demos/heart.png" class="md-heart" />

            <div class="md-donate-padding">
                <div class="md-btn-cont">
                    <button class="md-btn mbsc-btn">$500</button>
                    <button class="md-btn mbsc-btn">$250</button>
                    <button class="md-btn mbsc-btn">$100</button>
                </div>
                <label class="md-input-cont">
                <input id="demo" class="md-donation-input" placeholder="Other amount..." ng-model="mynumpad" mobiscroll-numpad="settings"/>
            </label>
            </div>

            <button class="md-donation-btn mbsc-btn">Donate now</button>

        </div>


    </div>
</div>

.md-donation-cont {
    height: 100%;
}

.md-donation {
    background: #fff;
    min-height: 100%;
    position: relative;
}

.md-donation .md-header {
    color: #fb354c;
    font-size: 35px;
    text-align: center;
    padding: 60px 0 20px 0;
}

.md-donation .md-heart {
    width: 100%;
    padding-bottom: 50px;
}

.md-donation .md-donate-padding {
    padding: 2em 2em 6.5em 2em;
}

/* button */

.md-donation .md-btn-cont {
    overflow: hidden;
}

.md-donation-cont .md-donation .md-donate-padding .md-btn {
    float: left;
    width: 31%;
    text-decoration: none;
    padding: 0.8em 2em;
    margin: 0;
    outline: 0;
    border: 0;
    overflow: visible;
    cursor: pointer;
    color: #fff;
    background: #fb354c;
    border-radius: 4px;
    font-size: 16px;
}

.md-donation-cont .md-donation .md-donate-padding .md-btn:nth-child(2) {
    margin: 0 3.3%;
}

.md-donation-cont .md-donation .md-donation-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    margin: 0;
    background: #fb354c;
    color: #fff;
    font-size: 20px;
    text-transform: capitalize;
    border-radius: 0;
    box-shadow: none;
}

.md-donation-cont .md-donation .md-donate-padding .md-btn:focus,
.md-donation-cont .md-donation .md-donation-btn:active {
    opacity: .6;
}

.md-donation-cont .md-donation .md-donate-padding .md-btn:hover {
    background: #B50F06;
}

/* input */

.md-donation-input {
    margin: 0;
}

.md-donation .md-donate-padding .md-input-cont {
    position: relative;
    display: block;
    border: 1px solid #fb354c;
    border-radius: 4px;
    margin: 15px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 100;
    line-height: 1;
}

.md-donation .md-donate-padding .md-input-cont:before {
    content: '$';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 35px;
    background: #fb354c;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 39px;
}

.md-donation .md-donate-padding input {
    outline: 0;
    background: #fff;
    height: 100%;
    width: 99%;
    border: 0;
    padding: 10px 10px 10px 45px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 20px;
}

Numpad - Event handlers

Change demo
Event handlers
AngularJS Numeric keypad demo with event hooks for custom integration and functionality. With source code. For AngularJS (1.x) and Ionic 1.
Clear event log
EVENTS FIRED: 
angular
    .module('demoApp', ['mobiscroll-numpad'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            themeVariant: '',
            lang: '',
            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
            },
            onSet: 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
            },
            onClear: function (event, inst) {
                // Your custom event handler goes here
            },
            validate: function (data, inst) {
                // Your custom event handler goes here
            }
        };

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <input ng-model="mynumpad" mobiscroll-numpad="settings" mobiscroll-instance="demo" placeholder="Please Select..." />
</div>

Numpad - Display modes

Change demo
Display modes
AngularJS Numeric keypad demo with top, bottom, popup, center, modal, bubble and inline embedded display modes. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: '',
    themeVariant: ''
};

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

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

        $scope.topSettings = {
            display: 'top'
        };

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

        $scope.bubbleSettings = {
            display: 'bubble'
        };

        $scope.inlineSettings = {
            display: 'inline',
            layout: 'liquid'
        };

    }]);
<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>
            <label>
                Bottom
                <input mbsc-input id="demo" ng-model="myNumpad" mobiscroll-numpad="settings" placeholder="Please Select..." />
            </label>
            <label>
                Top
                <input mbsc-input id="demo-top" ng-model="myNumpadTop" mobiscroll-numpad="topSettings" type="text" placeholder="Please Select..." />
            </label>
            <label>
                Center
                <input mbsc-input id="demo-center" ng-model="myNumpadCenter" mobiscroll-numpad="centerSettings" type="text" placeholder="Please Select..." />
            </label>
            <label>
                Bubble
                <input mbsc-input id="demo-bubble" ng-model="myNumpadBubble" mobiscroll-numpad="bubbleSettings" type="text" placeholder="Please Select..." />
            </label>
        </div>
        <div class="mbsc-form-group mbsc-padding">
            <p class="mbsc-thin">With inline display you can embed the Numpad component in almost any markup or form.</p>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Embedded numpad scroller</div>
            <div id="demo-inline" ng-model="myNumpadInline" mobiscroll-numpad="inlineSettings"></div>
        </div>
    </div>
</div>

Numpad - Theming capabilities

Change demo
Theming capabilities

The look and feel of the numpad can be deeply 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. Setting the themeVariant to 'auto' will switch based on system settings.
  • Custom themes: Use the theme builder to customize the colors and make it match your brand.
  • Custom CSS: If you need further customization, the sky is the limit with CSS overrides.

You can also see how every example looks by changing the theme in the floating action bar on the right side.

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

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

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

        $scope.iosDarkSettings = {
            theme: 'ios',
            themeVariant: 'dark',
            display: 'bubble',
            touchUi: false
        };

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


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

        $scope.materialDarkSettings = {
            theme: 'material',
            themeVariant: 'dark',
            display: 'bubble',
            touchUi: false
        };

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

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

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

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

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

        $scope.mobiscrollDarkSettings = {
            theme: 'mobiscroll',
            themeVariant: 'dark',
            display: 'bubble',
            touchUi: false
        };

        $scope.mobiscrollCustomSettings = {
            theme: 'mobiscroll-lime',
            display: 'bubble',
            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>
                        <label>
                            Light
                            <input mbsc-input ng-model="iosDemo" mobiscroll-numpad="iosSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Dark
                            <input mbsc-input ng-model="iosDarkDemo" mobiscroll-numpad="iosDarkSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Custom
                            <input mbsc-input ng-model="iosCustomkDemo" mobiscroll-numpad="iosCustomSettings" placeholder="Please Select..." />
                        </label>
                    </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>
                        <label>
                            Light
                            <input mbsc-input ng-model="materialDemo" mobiscroll-numpad="materialSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Dark
                            <input mbsc-input ng-model="materialDarkDemo" mobiscroll-numpad="materialDarkSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Custom
                            <input mbsc-input ng-model="materialCustomDemo" mobiscroll-numpad="materialCustomSettings" placeholder="Please Select..." />
                        </label>
                    </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>
                        <label>
                            Light
                            <input mbsc-input ng-model="windowsDemo" mobiscroll-numpad="windowsSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Dark
                            <input mbsc-input ng-model="windowsDarkDemo" mobiscroll-numpad="windowsDarkSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Custom
                            <input mbsc-input ng-model="windowsCustomkDemo" mobiscroll-numpad="windowsCustomSettings" placeholder="Please Select..." />
                        </label>
                    </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>
                        <label>
                            Light
                            <input mbsc-input ng-model="mobiscrollDemo" mobiscroll-numpad="mobiscrollSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Dark
                            <input mbsc-input ng-model="mobiscrollDarkDemo" mobiscroll-numpad="mobiscrollDarkSettings" placeholder="Please Select..." />
                        </label>
                        <label>
                            Custom
                            <input mbsc-input ng-model="mobiscrollCustomDemo" mobiscroll-numpad="mobiscrollCustomSettings" placeholder="Please Select..." />
                        </label>
                    </div>
                </div>
            </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/9 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/9 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.

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

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

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 27
Cards 14
Collapsible 3
Color 10
Date & Time 20
Event Calendar 25
Forms 13
Grid layout 7
Image 7
Inputs & fields 6
Listview 19
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