React Numpad Numpad for React

Numpad for React

Learn more
light
dark

Change the theme setting here

Numpad - Decimal

Change demo
Decimal
React Numeric keypad decimal value entry with double scale featuring min/max value validation. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Numpad
                    ref="numpad"
                    theme="" 
                    themeVariant=""
                    lang=""
                    min={1}
                    scale={2}
                    preset="decimal"
                >
                    <input placeholder="Please Select..."/>
                </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content">

Numpad - Currency

Change demo
Currency
React Numeric keypad monetary value entry with double scale featuring min/max and validation. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

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

class App extends React.Component {
    componentDidMount() {
        mobiscroll.$(ReactDOM.findDOMNode(this.refs.stepper)).find('input').val('$' + this.state.stepperValue);
    }
    
    constructor(props) {
        super(props);

        this.state = {
            stepperValue: 20
        };
    }
    
    onSet = (event, inst) => {
        this.setState({
            stepperValue: inst.getVal()
        });
    }
    
    onPriceChange = () => {
        this.setState({
            stepperValue: +event.target.value
        });
        event.target.value = '$' + event.target.value;
    }
    
    tap = () => {
        this.refs.numpad.instance.show();
    }
    
    render() {
        return (
            <div className="md-currency">
                <mobiscroll.Form className="md-stepper-np">
                    <div className="mbsc-padding md-demo">
                        <h4 className="md-title">Automatically top up account</h4>
                        <div className="mbsc-desc ">Top up from credit card if account falls bellow $10</div>
                        
                        <mobiscroll.FormGroup inset>
                            <mobiscroll.Stepper onClick={this.tap} onChange={this.onPriceChange} ref="stepper" className="md-price" data-role="stepper" min={10} max={500} step={10} value={this.state.stepperValue} readOnly />
                        </mobiscroll.FormGroup>
                        <mobiscroll.Numpad
                            className="md-numpad"
                            ref="numpad"
                            preset="decimal"
                            min={5}
                            max={500}
                            prefix="$"
                            type="hidden"
                            value={this.state.stepperValue}
                            onSet={this.onSet}
                        />
                        <div className="mbsc-padding">
                            <button type="button" className="mbsc-btn-block">Save Settings</button>
                        </div>
                    </div>
                </mobiscroll.Form>
            </div>
        );
    }
}

<div id="content"></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
React Numeric keypad for integer value entry supporting negative and positive numbers and validation. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Numpad
                    ref="numpad"
                    theme="" 
                    themeVariant=""
                    lang=""
                    preset="decimal"
                    scale={0}
                    max={9999}
                    min={-9999}
                >
                    <input placeholder="Please Select..."/>
                </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content"></div>

Numpad - Timespan

Change demo
Timespan
React Numeric keypad demo for capturing hour minute and seconds. Great for setting timers and alarms. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Numpad
                    ref="numpad"
                    theme="" 
                    themeVariant=""
                    lang=""
                    preset="timespan"
                >
                   <input placeholder="Please Select..."/>
               </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content">

Numpad - RTL Support

Change demo
RTL Support
React Numeric keypad RTL demo for right to left rendering & languages like Arabic, Hebrew, Farsi. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

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

class App extends React.Component {
    render() {
        return (
            <mobiscroll.Form rtl={true}>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>RTL enabled by default</mobiscroll.FormGroupTitle>
                    <mobiscroll.Numpad lang="ar">
    					<mobiscroll.Input placeholder="Please Select...">Arabic</mobiscroll.Input>
    				</mobiscroll.Numpad>
    				<mobiscroll.Numpad lang="he">
    					<mobiscroll.Input placeholder="Please Select...">Hebrew</mobiscroll.Input>
    				</mobiscroll.Numpad>
    				<mobiscroll.Numpad lang="fa">
    					<mobiscroll.Input placeholder="Please Select...">Farsi</mobiscroll.Input>
    				</mobiscroll.Numpad>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Manually set RTL</mobiscroll.FormGroupTitle>
                    <mobiscroll.Numpad rtl={true}>
    					<mobiscroll.Input placeholder="Please Select...">RTL</mobiscroll.Input>
    				</mobiscroll.Numpad>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content">

Numpad - Time

Change demo
Time
React Numeric keypad demo for capturing time inputs. 12h and 24 hour format is supported. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

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

class App extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Time formats</mobiscroll.FormGroupTitle>
                    <mobiscroll.Numpad preset="time" timeFormat="HH:ii">
						<mobiscroll.Input placeholder="Please Select...">24h format</mobiscroll.Input>
					</mobiscroll.Numpad>
					<mobiscroll.Numpad preset="time" timeFormat="HH:ii A">
						<mobiscroll.Input placeholder="Please Select...">12h format </mobiscroll.Input>
					</mobiscroll.Numpad>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

<div id="content">

Numpad - Date

Change demo
Date
React Numeric keypad date entry demo with header text. Custom date format and validation is supported. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Numpad
                    ref="numpad"
                    theme="" 
                    themeVariant=""
                    lang=""
                    preset="date"
                    headerText="Next Schedule (mm/dd/yyyy)"
                >
                    <input placeholder="Please Select..."/>
                </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content">

Numpad - Masked Entry - PIN

Change demo
Masked Entry - PIN
React Numeric keypad PIN demo with masked input and value entry. Custom length PIN is supported. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Numpad
                    ref="numpad"
                    theme="" 
                    themeVariant=""
                    lang=""
                    template="dddd"
                    allowLeadingZero={true}
                    placeholder="-"
                    mask="*"
                    validate={this.validate}
                >
                    <input placeholder="Please Select..."/>
                </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content">

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.

import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

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

class App extends React.Component {
    validateDUS = (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
        };
    }
    
    formatValueDUS = (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('');
    }
    
    parseValueDUS = (v, i) => {
        if (v) {
            return v.replace('(', '').replace(') ', '').replace('-', '');
        }
    }
    
    validateIUS = (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
        };
    }
    
    formatValueIUS = (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('');
    }
    
    parseValueIUS = (v, i) => {
        if (v) {
            return v.replace('+1', '').replace(/-/gm, '');;
        }
    }
    
    validateIGE = (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
        };
    }
    
    formatValueIGE = (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('');
    }
    
    parseValueIGE = (v, i) => {
        if (v) {
            return v.replace('+49', '').replace(/-/gm, '');
        }
    }
    
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.Numpad
                    fill="ltr"
                    template="(ddd) ddd-dddd"
                    allowLeadingZero={true}
                    validate={this.validateDUS}
                    formatValue={this.formatValueDUS}
                    parseValue={this.parseValueDUS}
                >
                    <mobiscroll.Input inputStyle="box" labelStyle="stacked" placeholder="Please Select...">Domestic US</mobiscroll.Input>
                </mobiscroll.Numpad>
                <mobiscroll.Numpad
                    fill="ltr"
                    template="+1-ddd-ddd-dddd"
                    allowLeadingZero={true}
                    validate={this.validateIUS}
                    formatValue={this.formatValueIUS}
                    parseValue={this.parseValueIUS}
                >
                    <mobiscroll.Input inputStyle="box" labelStyle="stacked" placeholder="Please Select...">International US</mobiscroll.Input>
                </mobiscroll.Numpad>
                <mobiscroll.Numpad
                    fill="ltr"
                    template="+49-dd-ddd-ddddd"
                    allowLeadingZero={true}
                    validate={this.validateIGE}
                    formatValue={this.formatValueIGE}
                    parseValue={this.parseValueIGE}
                >
                    <mobiscroll.Input inputStyle="box" labelStyle="stacked" placeholder="Please Select...">International German</mobiscroll.Input>
                </mobiscroll.Numpad>
            </mobiscroll.Form>
        );
    }    
}

<div id="content">

Numpad - Variable Fraction

Change demo
Variable Fraction
React Numeric keypad demo for decimal value entry with variable scale, fraction length. With source code. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    state = { 
        decimal: '.', 
        thousands: ','
    }; 

    parseValue = (value) => {
        if (value) {
            return value.toString().replace(this.state.thousands, '').split('');
        }
        return [];
    }
    
    formatValue = (numbers) => {
        let ret;
        let l = numbers.length;
        const state = this.state;
        const decimal = state.decimal;
        const thousands = state.thousands;

        // 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);
    }
    
    validate = (event, inst) => {
        const s = inst.settings;
        const values = event.values;
        const disabledButtons = [];
        const decimal = this.state.decimal;
        const maxLength = 9;
        const maxScale = 9;
        let invalid = false;

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

        if (values.length == 1 && values[0] === 0) {
            for (let 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 (let 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
        };

    }
    render() {
        return (
            <div>
                <mobiscroll.Numpad
                    ref="numpad"
                    theme="" 
                    themeVariant=""
                    lang=""
                    template="ddddddddd"
                    allowLeadingZero={true}
                    leftKey={{
                        text: '.',
                        value: '.'
                    }}
                    parseValue={this.parseValue}
                    formatValue={this.formatValue}
                    validate={this.validate}
                    
                >
                      <input placeholder="Please Select..."/>
                </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content">

Numpad - Donation

Change demo
Donation
React Mobile donation screen with predefined amounts and numeric keypad for custom value entry. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    render() {
        return (
            <div className="md-donation-cont">
    			<div className="md-donation">
    				<div className="md-header">Giving feels good</div>
    
    				<img src="https://img.mobiscroll.com/demos/heart.png" className="md-heart" />
    
    				<div className="md-donate-padding">
    					<div className="md-btn-cont">
    						<button type="button" className="md-btn mbsc-btn">$500</button>
    						<button type="button" className="md-btn mbsc-btn">$250</button>
    						<button type="button" className="md-btn mbsc-btn">$100</button>
    					</div>
    					<label className="md-input-cont">
    						<mobiscroll.Numpad 
    						    className="md-donation-input"
    							theme="" 
    							themeVariant=""
    							lang=""
    							min={1}
    							max={10000}
    							scale={2}
    							preset="decimal"
    						>
    						   <input placeholder="Other amount..."/>
                        </mobiscroll.Numpad>
    					</label>
    				</div>
    
    				<button type="button" className="md-donation-btn mbsc-btn">Donate now</button>
    
    			</div>
    		</div>
        );
    }    
}

<div id="content"></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
React Numeric keypad demo with event hooks for custom integration and functionality. With source code. For React.
Clear event log
EVENTS FIRED: 
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

class App extends React.Component {
    onInit = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onMarkupReady = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onBeforeShow = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onPosition = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onShow = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onSet = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onDestroy = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onClose = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onCancel = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onBeforeClose = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onClear = (event, inst) => {
        // Your custom event handler goes here
    }
    
    validate = (data, inst) => {
        // Your custom event handler goes here
    }
    
    render() {
        return (
            <div>
                <mobiscroll.Numpad 
                    ref="numpad" 
                    theme=""  
                    themeVariant="" 
                    lang=""
                    onInit={this.onInit}
                    onMarkupReady={this.onMarkupReady}
                    onBeforeShow={this.onBeforeShow}
                    onPosition={this.onPosition}
                    onShow={this.onShow}
                    onSet={this.onSet}
                    onDestroy={this.onDestroy}
                    onClose={this.onClose}
                    onCancel={this.onCancel}
                    onBeforeClose={this.onBeforeClose}
                    onClear={this.onClear}
                    validate={this.validate}
                >
                    <input placeholder="Please Select..."/>
                </mobiscroll.Numpad>
            </div>
        );
    }    
}

<div id="content"></div>

Numpad - Display modes

Change demo
Display modes
React Numeric keypad demo with top, bottom, popup, center, modal, bubble and inline embedded display modes. For React.
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

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

class App extends React.Component {
    render() {
        return (
            <mobiscroll.Form >
                <mobiscroll.FormGroup>
				    <mobiscroll.FormGroupTitle>Display modes</mobiscroll.FormGroupTitle>
				    <mobiscroll.Numpad display="bottom">
						<mobiscroll.Input placeholder="Please Select...">Bottom</mobiscroll.Input>
					</mobiscroll.Numpad>
					<mobiscroll.Numpad display="top">
						<mobiscroll.Input placeholder="Please Select...">Top</mobiscroll.Input>
					</mobiscroll.Numpad>
					<mobiscroll.Numpad display="center">
						<mobiscroll.Input placeholder="Please Select...">Center</mobiscroll.Input>
					</mobiscroll.Numpad>
					<mobiscroll.Numpad display="bubble">
						<mobiscroll.Input placeholder="Please Select...">Bubble</mobiscroll.Input>
					</mobiscroll.Numpad>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
                    <p className="mbsc-thin">With inline display you can embed the Numpad component in almost any markup or form.</p>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Embedded numpad scroller</mobiscroll.FormGroupTitle>
                    <mobiscroll.Numpad type="hidden" display="inline"/>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

<div id="content"></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.

import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';

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

class App extends React.Component {
    render () {
        return (
            <mobiscroll.Form>
                <div className="mbsc-grid mbsc-grid-fixed">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>iOS Theme</mobiscroll.FormGroupTitle>
                                <mobiscroll.Numpad theme="ios" themeVariant="light" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Light</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="ios" themeVariant="dark" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Dark</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="ios-gray" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Custom</mobiscroll.Input>
    							</mobiscroll.Numpad>
                            </mobiscroll.FormGroup>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Material Theme</mobiscroll.FormGroupTitle>
                                <mobiscroll.Numpad theme="material" themeVariant="light" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Light</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="material" themeVariant="dark" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Dark</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="material-indigo" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Custom</mobiscroll.Input>
    							</mobiscroll.Numpad>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Windows Theme</mobiscroll.FormGroupTitle>
                                <mobiscroll.Numpad theme="windows" themeVariant="light" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Light</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="windows" themeVariant="dark" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Dark</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="windows-yellow" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Custom</mobiscroll.Input>
    							</mobiscroll.Numpad>
                            </mobiscroll.FormGroup>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Mobiscroll Theme</mobiscroll.FormGroupTitle>
                                <mobiscroll.Numpad theme="mobiscroll" themeVariant="light" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Light</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="mobiscroll" themeVariant="dark" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Dark</mobiscroll.Input>
    							</mobiscroll.Numpad>
    							<mobiscroll.Numpad theme="mobiscroll-lime" display="bubble" touchUi={false}>
    								<mobiscroll.Input placeholder="Please Select...">Custom</mobiscroll.Input>
    							</mobiscroll.Numpad>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></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 React $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7/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 React $595


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 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.

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