Date & Time for React

Learn about Date & Time

Date & time scroller component for date, time selection or a combination of both.

Compatible with mobiscroll forms, custom inputs and more. Use it on any touch screen, no matter if small or large.

Shipping with useful features for a refined UX, including:

  • Usage on mobile and tablet
  • Date-only, time-only or mixed modes
  • Steps for display values
  • Hide wheels that are not needed
  • Validation with disabled dates, min & max for restricting selection
  • Circular wheels
  • Multiple theme support
  • Modal, popup and inline display mores
  • RTL Support
  • Full localization


Interested in date and/or time selection? Other demos that could be useful:

Calendar Range Timespan


Date & Time demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Date & Time - Mobile & Desktop usage

Change demo
Mobile & Desktop usage

Use it for mobile, desktop and everything in between by setting it up responsively (view responsive demo). The component can be rendered for touch UI - great for smartphones and tablets - and for non-touch UI screens like laptop and desktops. The main difference is that they are optimized for either touch or pointer interaction.

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

class DatetimeDemo extends React.Component {
    render () {
        return (
            <mobiscroll.Form inputStyle="box">
                <div className="mbsc-grid mbsc-form-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <label>
        					    Mobile
                                <mobiscroll.Date
                                    display="bubble"
                                    placeholder="Please Select..."
                               />
                            </label>
                        </div>
    					<div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <label>
        					    Desktop
                                <mobiscroll.Date
                                    display="bubble"
                                    touchUi={false}
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - App & Website usage

Change demo
App & Website usage

Use it on any custom input or with Mobiscroll form fields. The component is triggered on input focus, but is can also be triggered on a button click.

Let’s say you already have a form and you want to enhance the date picking experience. No problem, the date & time can be used on your existing fields. Most of our examples are presented using Mobiscroll form fields, but you get the picture.

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

class DatetimeDemo extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            val: new Date()
        };
        
        this.show = this.show.bind(this);
    }
    
     show () {
         this.refs.external.instance.show();
     }
    render () {
        return (
            <div>
                <mobiscroll.Form inputStyle="box">
                    <div className="mbsc-grid mbsc-form-grid">
                        <div className="mbsc-form-group">
                            <div className="mbsc-form-group-title">Using the Data & Time with Mobiscroll form fields</div>
                            <div className="mbsc-row">
                                <div className="mbsc-col-sm-12 mbsc-col-md-6">
                					<label>
                					    Date
                                        <mobiscroll.Date placeholder="Please Select..." />
                                    </label>
                                </div>
                                <div className="mbsc-col-sm-12 mbsc-col-md-6">
                					<label>
                					    Time
                                        <mobiscroll.Time placeholder="Please Select..." />
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>
                </mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <label htmlFor="demo-non-form">Date</label>
                            <mobiscroll.Date>
                                <input className="demo-non-form" placeholder="Please Select..." />
                            </mobiscroll.Date>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <div className="mbsc-row mbsc-align-items-end">
                                <div className="mbsc-col-9">
                                    <label htmlFor="demo-external">Show on button click only</label>
                                    <mobiscroll.Date
                                        ref="external"
                                        value={this.state.val}
                                        showOnTap={false}
                                        showOnFocus={false}
                                    >
                                        <input id="demo-external" className="demo-non-form" />
                                    </mobiscroll.Date>
                                </div>
                                <div className="mbsc-col-3 external-container">
                                    <button onClick={this.show} className="external-button">Show</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        );
    }    
}


<div id="content"></div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Date & Time - Date object, ISO 8601 & moment.js

Change demo
Date object, ISO 8601 & moment.js

The date & time picker supports multiple data types. You can work with JS date objects - new Date(1995, 11, 17, 15, 24), ISO date strings - '2008-09-15T15:53:00', localized date strings - '04/25/2010 8:15 AM' and moment.js objects - moment([2018, 3, 27, 12, 15]).

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

class DatetimeDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Working with Js Date Objects</mobiscroll.FormGroupTitle>
					<div className="mbsc-btn-group-block">
                        <mobiscroll.Button onClick={this.setDate} className="mbsc-btn-primary">Set: Sun Dec 17 1995 03:24:00 GMT</mobiscroll.Button>
                    </div>
                    <div>
                        <label>
                            Date object
                            <mobiscroll.Datetime
                                ref="date"
                                dateWheels="|D M d|"
                                onSet={this.setDateObj}
                            />
                        </label>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
				    Return value: <span ref="retDate"></span>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Working with Date strings</mobiscroll.FormGroupTitle>
					<div className="mbsc-btn-group-block">
                        <mobiscroll.Button onClick={this.setISO} className="mbsc-btn-primary">Set: 2008-09-15T15:53:00</mobiscroll.Button>
                    </div>
                    <div>
                        <label>
                            ISO string
                            <mobiscroll.Datetime
                                ref="iso"
                                dateWheels="|D M d|"
                                returnFormat="iso8601"
                                onSet={this.setDateISO}
                            />
                        </label>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
				    Return value: <span ref="retISO"></span>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Working with Localized Strings</mobiscroll.FormGroupTitle>
					<div className="mbsc-btn-group-block">
                        <mobiscroll.Button onClick={this.setLocale} className="mbsc-btn-primary">Set: 04/25/2010 8:15 AM</mobiscroll.Button>
                    </div>
                    <div>
                        <label>
                            Local format
                            <mobiscroll.Datetime
                                ref="locale"
                                dateWheels="|D M d|"
                                returnFormat="locale"
                                onSet={this.setDateLocale}
                            />
                        </label>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
				    Return value: <span ref="retLocale"></span>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Working with Moment JS Objects</mobiscroll.FormGroupTitle>
				    <div className="mbsc-btn-group-block">
                        <mobiscroll.Button onClick={this.setMoment} className="mbsc-btn-primary">Set: 2018-04-27T12:15:00+03:00</mobiscroll.Button>
                    </div>
                    <div>
                        <label>
                            Moment JS
                            <mobiscroll.Datetime
                                ref="moment"
                                dateWheels="|D M d|"
                                returnFormat="moment"
                                onSet={this.setDateMoment}
                            />
                        </label>
                    </div>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
				    Return value: <span ref="retMoment"></span>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    };

    setDate = () => {
        var inst = this.refs.date.instance;
        inst.setVal(new Date(1995, 11, 17, 15, 24), true);
        this.updateValue(this.refs.retDate, inst);
    };

    setDateObj = (event, inst) => {
        this.updateValue(this.refs.retDate, inst);
    };

    setISO = () => {
        var inst = this.refs.iso.instance;
        inst.setVal('2008-09-15T15:53:00', true);
        this.updateValue(this.refs.retISO, inst);
    };

    setDateISO = (event, inst) => {
        this.updateValue(this.refs.retISO, inst);
    };

    setLocale = () => {
        var inst = this.refs.locale.instance;
        inst.setVal('04/25/2010 8:15 AM', true);
        this.updateValue(this.refs.retLocale, inst);
    };

    setDateLocale = (event, inst) => {
        this.updateValue(this.refs.retLocale, inst);
    };
    
    setMoment = () => {
        var inst =  this.refs.moment.instance;
        // make sure that moment js is loaded
        inst.setVal(moment([2018, 3, 27, 12, 15]), true);
        this.updateValue(this.refs.retMoment, inst);
    };

    setDateMoment = (event, inst) => {
        this.updateValue(this.refs.retMoment, inst);
    };
    
    updateValue = (ref, inst) => {
        if(inst.settings.returnFormat == 'moment') {
            ref.innerHTML = inst.getVal().format();
        }
        else {
            ref.innerHTML = inst.getVal();
        }
    }
}

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

Date & Time - Mobile display modes

Change demo
Mobile display modes

Depending on your requirements you can use different display modes for both mobile and desktop. On mobile the component can be rendered either at the top or bottom of the screen, in the center of the screen, anchored to an input or any object for that matter and it can also be embedded in any inline content.

Interested in desktop usage?  Check out the next example →
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class DateDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Try different display modes</mobiscroll.FormGroupTitle>
                    <label>
                        Bottom
                        <mobiscroll.Date
                            display="bottom"
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Top
                        <mobiscroll.Date
                            display="top"
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Center
                        <mobiscroll.Date
                            display="center"
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Bubble
                        <mobiscroll.Date
                            display="bubble"
                            placeholder="Please Select..."
                        />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
                    <p className="mbsc-thin">With inline display you can embed the Date & Time component in almost any markup or form.</p>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Embedded date picker</mobiscroll.FormGroupTitle>
                    <mobiscroll.Date
                        type="hidden"
                        display="inline"
                        layout="liquid"
                        placeholder="Please Select..."
                    />
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

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

Date & Time - Desktop display modes

Change demo
Desktop display modes

Use the available display modes on mobile and desktop. On larger screens you have slightly different rendering options suitable for the large form-factor and pointer interaction. Use the top, bottom and center modes for getting it in front of the users or stay in context and anchor it to the input.

Interested in mobile usage?  Check out the previous example →
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class DateDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row mbsc-justify-content-center">
                        <div className="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Pop-up positioning</mobiscroll.FormGroupTitle>
                                <label>
                                    Top
                                    <mobiscroll.Date
                                        touchUi={false}
                                        display="top"
                                        placeholder="Please select..."
                                    />
                                </label>
                                <label>
                                    Bottom
                                    <mobiscroll.Date
                                        touchUi={false}
                                        display="bottom"
                                        placeholder="Please select..."
                                    />
                                </label>
                                <label>
                                    Anchored
                                    <mobiscroll.Date
                                        touchUi={false}
                                        placeholder="Please select..."
                                    />
                                </label>
                                <label>
                                    Center
                                    <mobiscroll.Date
                                        touchUi={false}
                                        display="center"
                                        placeholder="Please select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                    <div className="mbsc-row mbsc-justify-content-center">
                        <div className="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Basic usage</mobiscroll.FormGroupTitle>
                                <label>
                                    Date & Time
                                    <mobiscroll.Datetime
                                        touchUi={false}
                                        placeholder="Please select..."
                                    />
                                </label>
                                <label>
                                    Date
                                    <mobiscroll.Date
                                        touchUi={false}
                                        placeholder="Please select..."
                                    />
                                </label>
                                <label>
                                    Time
                                    <mobiscroll.Time
                                        touchUi={false}
                                        placeholder="Please select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                    <div className="mbsc-row mbsc-justify-content-center">
                        <div className="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>With buttons</mobiscroll.FormGroupTitle>
                                <label>
                                    Set button
                                    <mobiscroll.Datetime
                                        display="center"
                                        touchUi={false}
                                        buttons={['set']}
                                        placeholder="Please select..."
                                    />
                                </label>
                                <label>
                                    Set/Cancel
                                    <mobiscroll.Datetime
                                        display="center"
                                        touchUi={false}
                                        buttons={['set', 'cancel']}
                                        placeholder="Please select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Responsive behavior

Change demo
Responsive behavior

Configure the date & time to behave and render differently on different sized screens. You can have a bottom positioned date scroller on mobile, a popover anchored to the input on tablet and desktop display on large sceens.

All this can be configured under the responsive setting. Think of it as configuring how the settings change based on the screen-size.

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

class SelectDemo extends React.Component {
    
    getDateTimeResponsive = () => {
        return {
            xsmall: {
                dateWheels: '|D M d|'
            },
            small: {
                dateWheels: '|D M d|',
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    }
    
    getDateResponsive = () => {
        return {
            small: {
                display: 'bubble'
            },
            medium: {
                headerText: false,
                touchUi: false
            }
        }
    }
    
    getTimeResponsive = () => {
        return {
            small: {
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    }
    
    render() {
        return (
            <mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row mbsc-justify-content-center">
                        <div className="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Basic usage</mobiscroll.FormGroupTitle>
                                <label>
                                    Date & time
                                    <mobiscroll.Datetime
                                        placeholder="Please select..."
                                        responsive={this.getDateTimeResponsive()}
                                    />
                                </label>
                                <label>
                                    Date
                                    <mobiscroll.Date
                                        headerText="{value}"
                                        placeholder="Please select..."
                                        responsive={this.getDateResponsive()}
                                    />
                                </label>
                                <label>
                                    Time
                                    <mobiscroll.Time
                                        placeholder="Please select..."
                                        responsive={this.getTimeResponsive()}
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Date picker

Change demo
Date picker

Use the component for date selection and only show the day, month and year wheels. Use the dateFormat and dateWheel settings to customize the experience. Check out some great examples for custom formats and for hiding the day resulting in a month/year picker.

Use the same component but different configuration for time and date-time selection.

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

class DatetimeDemo extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            val: new Date()
        };
        
        this.show = this.show.bind(this);
    }
    
    show () {
        this.refs.external.instance.show();
    }
    render () {
        return (
            <div>
                <mobiscroll.Form inputStyle="box" labelStyle="stacked">
                    <div className="mbsc-grid mbsc-form-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-sm-12 mbsc-col-md-4">
            					<label>
            					    Mobile
                                    <mobiscroll.Date value={this.state.val} />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-4">
            					<label>
            					    Desktop
                                    <mobiscroll.Date
                                        value={this.state.val}
                                        touchUi={false}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-4">
            					<label>
            					    Header text
                                    <mobiscroll.Date
                                        value={this.state.val}
                                        headerText="{value}"
                                    />
                                </label>
                            </div>
                        </div>
                    </div>
                </mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <label htmlFor="demo-non-form">Date</label>
                            <mobiscroll.Date value={this.state.val}>
                                <input className="demo-non-form" />
                            </mobiscroll.Date>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <div className="mbsc-row mbsc-align-items-end">
                                <div className="mbsc-col-9">
                                    <label htmlFor="demo-external">Show on button click only</label>
                                    <mobiscroll.Date
                                        ref="external"
                                        value={this.state.val}
                                        showOnTap={false}
                                        showOnFocus={false}
                                    >
                                        <input id="demo-external" className="demo-non-form" />
                                    </mobiscroll.Date>
                                </div>
                                <div className="mbsc-col-3 external-container">
                                    <button onClick={this.show} className="external-button">Show</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        );
    }    
}


<div id="content"></div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Once we started using Mobiscroll, our conversions have improved and the experience became much more delightful!

Daniel Maldonado, Sr. Web Designer, Ecommission Financial Services

Date & Time - Time-only picker

Change demo
Time-only picker

Use the component for time selection with wheels for hours, minutes and seconds. Control the format - timeFormat and wheels - timeWheels and switch between AM/PM or 24h formats. Check out some great examples for custom formats.

Use the same component but different configuration for date and date-time selection.

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

class DatetimeDemo extends React.Component {
    constructor(props) {
        super(props);
        this.show = this.show.bind(this);
    }
    
    show () {
        this.refs.external.instance.show();
    }
    render () {
        var now = new Date();
        return (
            <div>
                <mobiscroll.Form inputStyle="box" labelStyle="stacked">
                    <div className="mbsc-grid mbsc-form-grid">
                        <mobiscroll.FormGroup>
                            <mobiscroll.FormGroupTitle>Use it on mobile and desktop</mobiscroll.FormGroupTitle>
                            <div className="mbsc-row">
                                <div className="mbsc-col-sm-12 mbsc-col-md-6">
                					<label>
                					    Mobile
                                        <mobiscroll.Time value={now} />
                                    </label>
                                </div>
                                <div className="mbsc-col-sm-12 mbsc-col-md-6">
                					<label>
                					    Desktop
                                        <mobiscroll.Time
                                            touchUi={false}
                                            value={now}
                                        />
                                    </label>
                                </div>
                            </div>
                        </mobiscroll.FormGroup>
                        <mobiscroll.FormGroup>
                            <mobiscroll.FormGroupTitle>Time picker with different time formats</mobiscroll.FormGroupTitle>
                            <div className="mbsc-row">
                                <div className="mbsc-col-sm-12 mbsc-col-md-4">
                					<label>
                					    12 h
                                        <mobiscroll.Time
                                            timeFormat="hh:ii A"
                                            value={now}
                                        />
                                    </label>
                                </div>
                                <div className="mbsc-col-sm-12 mbsc-col-md-4">
                					<label>
                					    24 h
                                        <mobiscroll.Time
                                            timeFormat="HH:ii"
                                            value={now}
                                        />
                                    </label>
                                </div>
                                <div className="mbsc-col-sm-12 mbsc-col-md-4">
                					<label>
                					    Hour, Min, Sec
                                        <mobiscroll.Time
                                            timeFormat="HH:ii:ss"
                                            headerText="Time: {value}"
                                            value={now}
                                        />
                                    </label>
                                </div>
                            </div>
                        </mobiscroll.FormGroup>
                    </div>
                </mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <label htmlFor="demo-non-form">Time</label>
                            <mobiscroll.Time value={now}>
                                <input className="demo-non-form" />
                            </mobiscroll.Time>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <div className="mbsc-row mbsc-align-items-end">
                                <div className="mbsc-col-9">
                                    <label htmlFor="demo-external">Show on button click only</label>
                                    <mobiscroll.Time
                                        ref="external"
                                        value={now}
                                        showOnTap={false}
                                        showOnFocus={false}
                                    >
                                        <input id="demo-external" className="demo-non-form" />
                                    </mobiscroll.Time>
                                </div>
                                <div className="mbsc-col-3 external-container">
                                    <button onClick={this.show} className="external-button">Show</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        );
    }    
}


<div id="content">
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Date & Time - Date & time picker

Change demo
Date & time picker

Use the component for a combined date & time picker. Select a day, month, year along with hour and minutes on separate wheels or have the date on a single wheel and the time on separate wheels.

Show the date and time in localized formats or customize it to your needs. Take a look at some of the formatting options available.

Besides the combined view you can use it as a date-only and time-only picker.

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

class DatetimeDemo extends React.Component {
    constructor(props) {
        super(props);
        this.show = this.show.bind(this);
    }
    
    show () {
        this.refs.external.instance.show();
    }
    render() {
        var now = new Date();
        return (
            <div>
                <mobiscroll.Form inputStyle="box" labelStyle="stacked">
                    <div className="mbsc-grid">
                        <div className="mbsc-row">
                            <div className="mbsc-col-sm-12 mbsc-col-md-7">
                                <mobiscroll.FormGroup>
                                    <mobiscroll.FormGroupTitle>Date and time in the same field</mobiscroll.FormGroupTitle>
                                    <div className="mbsc-row mbsc-form-grid">
                                        <div className="mbsc-col-sm-12 mbsc-col-lg-6">
                                            <label>
                        					    Compact
                                                <mobiscroll.Datetime
                                                    dateWheels="|D M d|"
                                                    value={now}
                                                />
                                            </label>
                                        </div>
                                        <div className="mbsc-col-sm-12 mbsc-col-lg-6">
                                            <label>
                        					    Compact
                                                <mobiscroll.Datetime
                                                    value={now}
                                                />
                                            </label>
                                        </div>
                                    </div>
                                </mobiscroll.FormGroup>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-7">
                                <mobiscroll.FormGroup>
                                    <mobiscroll.FormGroupTitle>Date and time in the same field</mobiscroll.FormGroupTitle>
                                    <div className="mbsc-row mbsc-form-grid">
                                        <div className="mbsc-col-sm-12 mbsc-col-lg-6">
                                            <label>
                        					    Date
                                                <mobiscroll.Date
                                                    value={now}
                                                />
                                            </label>
                                        </div>
                                        <div className="mbsc-col-sm-12 mbsc-col-lg-6">
                                            <label>
                        					    Time
                                                <mobiscroll.Time
                                                    value={now}
                                                />
                                            </label>
                                        </div>
                                    </div>
                                </mobiscroll.FormGroup>
                            </div>
                        </div>
                    </div>
                </mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <label htmlFor="demo-non-form">Date</label>
                            <mobiscroll.Datetime>
                                <input className="demo-non-form" placeholder="Please Select..." />
                            </mobiscroll.Datetime>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <div className="mbsc-row mbsc-align-items-end">
                                <div className="mbsc-col-9">
                                    <label htmlFor="demo-external">Show on button click only</label>
                                    <mobiscroll.Datetime
                                        ref="external"
                                        value={now}
                                        showOnTap={false}
                                        showOnFocus={false}
                                    >
                                        <input id="demo-external" className="demo-non-form" />
                                    </mobiscroll.Datetime>
                                </div>
                                <div className="mbsc-col-3 external-container">
                                    <button onClick={this.show} className="external-button">Show</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        );
    }    
}

<div id="content"></div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Date & Time - Month and year picker

Change demo
Month and year picker

Customize the wheels and format the date picker for month & year. Choose a month/year format for credit card expiration date.

This and even more can be done with the dateWheels setting.

Interested in changing the date format?  Explore formatting options →
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class DateDemo extends React.Component {
     constructor(props) {
        super(props);

        this.state = {
            val: new Date("2020-12")
        };
    }
    
    render() {
        var now = new Date(),
            until = new Date(now.getFullYear() + 10, now.getMonth());
            
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Add a new credit card</mobiscroll.FormGroupTitle>
                    <label>
                        Name
                        <input type="text" placeholder="Required" />
                    </label>
                    <label>
                        Card
                        <input type="text" placeholder="Credit card number" />
                    </label>
                    <label>
                        Expiration
                        <mobiscroll.Date
                            theme=""
                            lang=""
                            dateWheels="mm - MM  yy"
                            dateFormat="mm/yy"
                            min={now}
                            minWidth={100}
                            max={until}
                            value={this.state.val}
                            placeholder="Required"
                        />
                    </label>
                    <label>
                        Security
                        <input type="text" placeholder="3-digit CVV" />
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Min & max values

Change demo
Min & max values

Use the min and max settings to restrict selection. This is useful to make the selection faster and to reduce user errors. A great example is date of birth. You want to disable future dates and maybe add age verification? Simply restrict values up to 18 years in the past.

Looking for a more sophisticated way for disabling dates?  See how to disable dates and times →
mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

class DateDemo extends React.Component {
    render() {
        var now = new Date(),
            minDate = new Date(now.getFullYear() - 100, 0, 1),
            maxDate = new Date(now.getFullYear() + 30, 11, 31),
            minTime = new Date(new Date().setHours(10, 30)),
            maxTime = new Date(new Date().setHours(18, 59)),
            bday = new Date(now.getFullYear() - 18, now.getMonth(), now.getDay());
        return (
            <mobiscroll.Form inputStyle="box" labelStyle="stacked">
                <div className="mbsc-grid">
                    <mobiscroll.FormGroup>
                        <mobiscroll.FormGroupTitle>Restricting the date picker</mobiscroll.FormGroupTitle>
                        <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Min date
                                    <mobiscroll.Date
                                        min={minDate}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Max date
                                    <mobiscroll.Date
                                        max={maxDate}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Date of birth
                                    <mobiscroll.Date
                                        max={bday}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Infinite
                                    <mobiscroll.Date
                                        value={now}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup>
        				<mobiscroll.FormGroupTitle>Restricting the time picker</mobiscroll.FormGroupTitle>
                        <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-4">
                                <label>
                                    Min time
                                    <mobiscroll.Time
                                        min={minTime}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-4">
                                <label>
                                    Max time
                                    <mobiscroll.Time
                                        max={maxTime}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-4">
                                <label>
                                    Min & max
                                    <mobiscroll.Time
                                        min={minTime}
                                        max={maxTime}
                                        value={now}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup>
    					<mobiscroll.FormGroupTitle>Date formats</mobiscroll.FormGroupTitle>
    				    <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    String
                                    <mobiscroll.Date
                                        max="2018-08-31T00:00"
                                        min="07/01/2018"
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    Moment JS
                                    <mobiscroll.Date
                                        max={moment([2018, 8, 30])}
                                        min={moment([2018, 7, 1])}
                                        value={now}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                </div>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Setting invalids

Change demo
Setting invalids

Disable dates with the invalid setting. It supports exact dates, ranges, recurring dates and weekdays. Time can also be invalidated by passing exact values and ranges.

Using invalids is essential to a great UX. First make sure you have the min & max values right and then work your way back to invalids. If you would like to re-enable dates inside an invalid range, you can do it with the valid setting. Having it set up correctly not just enhances the UX, but improves performance.

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

class DateDemo extends React.Component {
    constructor(props) {
        super(props);
        this.show = this.show.bind(this);
    }
    
    show () {
        this.refs.external.instance.show();
    }
    render() {
        var now = new Date(),
            dateVal = new Date(2018, 11, 19),
            timeVal = new Date(new Date().setHours(12, 30, 0, 0));
        return (
            <mobiscroll.Form inputStyle="box" labelStyle="stacked">
                <div className="mbsc-grid">
                    <mobiscroll.FormGroup>
                        <mobiscroll.FormGroupTitle>Invalidating dates</mobiscroll.FormGroupTitle>
                        <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Exact Date
                                    <mobiscroll.Date
                                        invalid={[
                                            new Date(2018, 1, 3),
                                            new Date(2018, 6, 11)
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Recurring
                                    <mobiscroll.Date
                                        invalid={[
                                            '1/1',
                                            '1/2',
                                            '12/25',
                                            '12/26',
                                            '7/10',
                                            '7/13',
                                            '9/10',
                                            '11/10'
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Weekdays
                                    <mobiscroll.Date
                                        invalid={['w0', 'w2', 'w6']}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                                <label>
                                    Range
                                    <mobiscroll.Date
                                        invalid={[
                                            { start: new Date(2018, 0, 27), end: new Date(2018, 2, 15) }
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup>
        				<mobiscroll.FormGroupTitle>Invalidating time</mobiscroll.FormGroupTitle>
                        <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    Exact Time
                                    <mobiscroll.Time
                                        steps={{
                                            minute: 30
                                        }}
                                        invalid={[
                                            { d: new Date(), start: '13:00', end: '13:00' },
                                            { d: new Date(), start: '15:00', end: '15:00' },
                                            { d: new Date(), start: '15:30', end: '15:30' },
                                            { d: new Date(), start: '16:00', end: '16:00' }
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    Range
                                    <mobiscroll.Time
                                        invalid={[
                                            { start: '12:00', end: '16:00' }
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup>
        				<mobiscroll.FormGroupTitle>Overriding inside invalid ranges</mobiscroll.FormGroupTitle>
                        <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    12/20/2018 - 12/31/2018
                                    <mobiscroll.Date
                                        invalid={[
                                            { start: new Date(2018, 11, 20), end: new Date(2018, 11, 31) }
                                        ]}
                                        valid={[
                                            { start: new Date(2018, 11, 24), end: new Date(2018, 11, 26) }
                                        ]}
                                        value={dateVal}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    13:00 - 20:00
                                    <mobiscroll.Time
                                        invalid={[
                                            { start: '13:00', end: '20:00' }
                                        ]}
                                        valid={[
                                            { start: '17:00', end: '17:30' },
                                            { start: '18:00', end: '18:30' }
                                        ]}
                                        value={timeVal}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup>
    					<mobiscroll.FormGroupTitle>Date formats</mobiscroll.FormGroupTitle>
    				    <div className="mbsc-row mbsc-form-grid">
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    String
                                    <mobiscroll.Date
                                        invalid={[
                                            '2018-06-15T00:00',
                                            '2018-06-18T00:00',
                                            '06/20/2018',
                                            '06/23/2018'
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                            <div className="mbsc-col-sm-12 mbsc-col-md-6">
                                <label>
                                    Moment JS
                                    <mobiscroll.Date
                                        invalid={[
                                            moment([2018, 5, 15]),
                                            moment([2018, 5, 18])
                                        ]}
                                        value={now}
                                    />
                                </label>
                            </div>
                        </div>
                    </mobiscroll.FormGroup>
                </div>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Time value steps

Change demo
Time value steps

Adjust the minute, hour steps in the time picker. By default it is incrementing by one, however you can change it to anything you’d like. Need to pick values from every five minutes? You can do it with the steps setting.

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

class TimeDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Variable Steps</mobiscroll.FormGroupTitle>
                    <label>
                        Date & time
                        <mobiscroll.Datetime
                            steps={{minute: 15}}
                            dateWheels="|D M d|"
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Time
                        <mobiscroll.Time
                            steps={{minute: 5}}
                            placeholder="Please Select..."
                        />
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

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

Date & Time - Setting values

Change demo
Setting values

Values can change a couple different ways: though defaults, intracting with the UI or programatically. The date and time picker defaults to now, which can be easily overridden with the defaultValue setting. The values are set by interacting with the component and making a selection or it can be done programatically with the setVal method. Use the buttons setting for showing/hiding set, cancel, clear, now or add custom buttons.

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

class DateDemo extends React.Component {
    setValue = () => {
        this.refs.inlineDate.instance.setVal(new Date(2018, 0, 2), true, true, false, 1000);
    }
    
    setToday = () => {
        this.refs.inlineDate.instance.setVal(new Date(), true, true, false, 1000);
    }
    
    render() {
        var autoButton = ['cancel'];
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Controlling the default value</mobiscroll.FormGroupTitle>
                    <label>
                        Default
                        <mobiscroll.Date
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Custom default
                        <mobiscroll.Date
                            defaultValue={new Date(2018, 2, 2)}
                            placeholder="Please Select..."
                        />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Setting a custom value</mobiscroll.FormGroupTitle>
                    <div className="mbsc-btn-group-block">
                        <button type="button" onClick={this.setValue}>02-01-2018</button>
                        <button type="button" onClick={this.setToday}>Today</button>
                    </div>
                    <mobiscroll.Date
                        ref="inlineDate"
                        display="inline"
                        type="hidden"
                    />
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Buttons API</mobiscroll.FormGroupTitle>
                    <label>
                        Now
                        <mobiscroll.Date
                            buttons={['now', 'set', 'cancel']}
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Custom
                        <mobiscroll.Date
                            buttons={[
                                {
                                    text: 'Custom',
                                    handler: function (event, inst) {
                                        inst.setVal(new Date(2018, 0, 1), true, true, false, 1000);
                                    }
                                },
                                'set',
                                'cancel'
                            ]}
                            placeholder="Please Select..."
                        />
                    </label>
                    <label>
                        Auto set
                        <mobiscroll.Date
                            buttons={autoButton}
                            placeholder="Please Select..."
                        />
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Formatting values

Change demo
Formatting values

Set the date and time format accordingly. Formats are inherited from the localization settings, but can be overriden with the dateFomat, timeFormat settings. The scrollable wheels are controlled by the dateWheels and timeWheels settings.

Interested in learning about localization?  Check out the examples below →
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class DateTimeDemo extends React.Component {
    constructor(props) {
        super(props);

        this.state = {
            val: new Date()
        };
    }
    
    render() {
        var now = new Date();
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Date</mobiscroll.FormGroupTitle>
                    <label>
                        Default
                        <mobiscroll.Date
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Separator
                        <mobiscroll.Date
                            dateFormat="dd.mm.yy"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Month only
                        <mobiscroll.Date
                            dateFormat="MM"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Month name
                        <mobiscroll.Date
                            dateFormat="d MM yy"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Month/year
                        <mobiscroll.Date
                            dateFormat="mm/yy"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Day of week
                        <mobiscroll.Date
                            dateFormat="D d M, yy"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        ATOM
                        <mobiscroll.Date
                            dateFormat="yy-mm-dd"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        COOKIE
                        <mobiscroll.Date
                            dateFormat="D, dd M yy"
                            value={this.state.val}
                        />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Time</mobiscroll.FormGroupTitle>
                    <label>
                        Default
                        <mobiscroll.Time
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        12 h
                        <mobiscroll.Time
                            timeFormat="hh:ii A"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        24 h
                        <mobiscroll.Time
                            timeFormat="HH:ii"
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Hour, min, sec
                        <mobiscroll.Time
                            timeFormat="HH:ii:ss"
                            headerText="Time: {value}"
                            value={this.state.val}
                        />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Time</mobiscroll.FormGroupTitle>
                    <label>
                        Default
                        <mobiscroll.Datetime
                            value={this.state.val}
                        />
                    </label>
                    <label>
                        Day name
                        <mobiscroll.Datetime
                            dateFormat={'D d M, yy'}
                            timeFormat={'H:ii'}
                            dateWheels={'|D d M, yy|'}
                            value={this.state.val}
                        />
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

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

Date & Time - RTL Support

Change demo
RTL Support

Shipping with full RTL support, choose left-to-right or right-to-left with the rtl setting. The value is inherited from the localization settings, and can be manually overriden by explicitly turning it ON and OFF.

Learn more about RTL and accessibility  Browse the documentation →
mobiscroll.settings = {
    theme: '',
    lang: ''
};

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

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

Date & Time - Calendar systems

Change demo
Calendar systems
React Date & time supporting calendar systems: Gregorian, Hijri and Jalali along with different languages and cultures. For React.
mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

class DatetimeDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form inputStyle="box">
                <div className="mbsc-grid mbsc-form-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-4">
                            <label>
                                Gregorian
                                <mobiscroll.Date
                                    calendarSystem="gregorian"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4">
                            <label>
                                Jalali
                                <mobiscroll.Date
                                    calendarSystem="jalali"
                                    lang="fa"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4">
                            <label>
                                Hijri
                                <mobiscroll.Date
                                    calendarSystem="hijri"
                                    lang="ar"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Localization

Change demo
Localization

All components are fully localized. In case of the date picker this covers date and time format, button copy, rtl and more. You can see how each example shows up by clicking on the small flag icon or checking the examples below.

All settings can be manually overriden  See what options the localization impacts →
mobiscroll.settings = {
    theme: '',
    display: 'bubble'
};

class DatetimeDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form inputStyle="box" className="md-localization">
                <div className="mbsc-grid mbsc-form-grid">
                    <div className="mbsc-row">
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-en"></span>
                                English
                                <mobiscroll.Datetime
                                    lang="en"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ar"></span>
                                Arabic
                                <mobiscroll.Datetime
                                    lang="ar"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-bg"></span>
                                Bulgarian
                                <mobiscroll.Datetime
                                    lang="bg"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ca"></span>
                                Català
                                <mobiscroll.Datetime
                                    lang="ca"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-cs"></span>
                                Cestina
                                <mobiscroll.Datetime
                                    lang="cs"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-zh"></span>
                                Chinese
                                <mobiscroll.Datetime
                                    lang="zh"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-hr"></span>
                                Croatian
                                <mobiscroll.Datetime
                                    lang="hr"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-da"></span>
                                Dansk
                                <mobiscroll.Datetime
                                    lang="da"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-de"></span>
                                Deutsch
                                <mobiscroll.Datetime
                                    lang="de"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-en-UK"></span>
                                English (UK)
                                <mobiscroll.Datetime
                                    lang="en-UK"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-es"></span>
                                Español
                                <mobiscroll.Datetime
                                    lang="es"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-fr"></span>
                                Français
                                <mobiscroll.Datetime
                                    lang="fr"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-gr"></span>
                                Greek
                                <mobiscroll.Datetime
                                    lang="el"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-in"></span>
                                Hindi
                                <mobiscroll.Datetime
                                    lang="hi"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-it"></span>
                                Italiano
                                <mobiscroll.Datetime
                                    lang="it"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ja"></span>
                                Japanese
                                <mobiscroll.Datetime
                                    lang="ja"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-kr"></span>
                                Korean
                                <mobiscroll.Datetime
                                    lang="ko"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-lt"></span>
                                Lietuvių
                                <mobiscroll.Datetime
                                    lang="lt"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-hu"></span>
                                Magyar
                                <mobiscroll.Datetime
                                    lang="hu"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-nl"></span>
                                Nederlands
                                <mobiscroll.Datetime
                                    lang="nl"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-no"></span>
                                Norsk
                                <mobiscroll.Datetime
                                    lang="no"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-pl"></span>
                                Polski
                                <mobiscroll.Datetime
                                    lang="pl"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-pt-PT"></span>
                                Português Europeu
                                <mobiscroll.Datetime
                                    lang="pt-PT"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-pt-BR"></span>
                                Pt. Brasileiro
                                <mobiscroll.Datetime
                                    lang="pt-BR"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ro"></span>
                                Româna
                                <mobiscroll.Datetime
                                    lang="ro"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-sr"></span>
                                Serbian
                                <mobiscroll.Datetime
                                    lang="sr"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-sk"></span>
                                Slovencina
                                <mobiscroll.Datetime
                                    lang="sk"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-fi"></span>
                                Suomi
                                <mobiscroll.Datetime
                                    lang="fi"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-sv"></span>
                                Svenska
                                <mobiscroll.Datetime
                                    lang="sv"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-th"></span>
                                Thai
                                <mobiscroll.Datetime
                                    lang="th"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-tr"></span>
                                Türkçe
                                <mobiscroll.Datetime
                                    lang="tr"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ua"></span>
                                Ukrainian
                                <mobiscroll.Datetime
                                    lang="ua"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-vi"></span>
                                Vietnamese
                                <mobiscroll.Datetime
                                    lang="vi"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ru"></span>
                                Русский
                                <mobiscroll.Datetime
                                    lang="ru"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-ru-UA"></span>
                                Русский (UA)
                                <mobiscroll.Datetime
                                    lang="ru-UA"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-he"></span>
                                עברית
                                <mobiscroll.Datetime
                                    lang="he"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                            <label>
                                <span className="flag flag-fa"></span>
                                فارسی
                                <mobiscroll.Datetime
                                    lang="fa"
                                    placeholder="Please Select..."
                                />
                            </label>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>
.md-localization span.flag {
    width: 22px;
    height: 15px;
    position: absolute;
    left: 1em;
    z-index: 1;
    top: 8px;
}

.mbsc-rtl .md-localization span.flag {
    right: 1em;
}

.mbsc-ios .md-localization span.flag {
    top: 15px;
}

.md-localization .flag~.mbsc-label {
    margin-left: 38px;
}

.mbsc-rtl .md-localization .flag~.mbsc-label {
    margin-right: 38px;
}

.md-localization img.flag {
    width: 30px;
}

.md-localization .flag {
    background: url(https://img.mobiscroll.com/demos/flags/flags_responsive.png) no-repeat;
    background-size: 100%;
}

.md-localization .flag-en {
    background-position: 0 93.38843%;
}

.md-localization .flag-ar {
    background-position: 0 76.033058%;
}

.md-localization .flag-bg {
    background-position: 0 9.090909%;
}

.md-localization .flag-ca {
    background-position: 0 14.876033%;
}

.md-localization .flag-cs {
    background-position: 0 21.900826%;
}

.md-localization .flag-zh {
    background-position: 0 19.008264%;
}

.md-localization .flag-hr {
    background-position: 0 38.429752%;
}

.md-localization .flag-da {
    background-position: 0 23.140496%;
}

.md-localization .flag-de {
    background-position: 0 22.31405%;
}

.md-localization .flag-en-UK {
    background-position: 0 92.561983%;
}

.md-localization .flag-es {
    background-position: 0 26.859504%;
}

.md-localization .flag-fr {
    background-position: 0 29.752066%;
}

.md-localization .flag-gr {
    background-position: 0 34.710744%;
}

.md-localization .flag-in {
    background-position: 0 40.909091%;
}

.md-localization .flag-it {
    background-position: 0 42.975207%;
}

.md-localization .flag-ja {
    background-position: 0 44.214876%;
}

.md-localization .flag-kr {
    background-position: 0 47.520661%;
}

.md-localization .flag-lt {
    background-position: 0 52.066116%;
}

.md-localization .flag-hu {
    background-position: 0 39.256198%;
}

.md-localization .flag-nl {
    background-position: 0 65.289256%;
}

.md-localization .flag-no {
    background-position: 0 65.702479%;
}

.md-localization .flag-pl {
    background-position: 0 70.661157%;
}

.md-localization .flag-pt-PT {
    background-position: 0 72.31405%;
}

.md-localization .flag-pt-BR {
    background-position: 0 11.983471%;
}

.md-localization .flag-ro {
    background-position: 0 74.380165%;
}

.md-localization .flag-sr {
    background-position: 0 74.793388%;
}

.md-localization .flag-sk {
    background-position: 0 79.752066%;
}

.md-localization .flag-fi {
    background-position: 0 27.68595%;
}

.md-localization .flag-sv {
    background-position: 0 77.68595%;
}

.md-localization .flag-th {
    background-position: 0 85.950413%;
}

.md-localization .flag-tr {
    background-position: 0 89.256198%;
}

.md-localization .flag-ua {
    background-position: 0 91.735537%;
}

.md-localization .flag-vi {
    background-position: 0 96.694215%;
}

.md-localization .flag-ru {
    background-position: 0 75.206612%;
}

.md-localization .flag-ru-UA {
    background-position: 0 10.743802%;
}

.md-localization .flag-he {
    background-position: 0 40.495868%;
}

.md-localization .flag-fa {
    background-position: 0 42.14876%;
}

Date & Time - Event hooks

Change demo
Event hooks

The date & time ships with different event hooks for deep customization. Events are triggered through the lifecycle of the component where you can tie in custom functionality and code. While users interact with the UI events like onChange, onSet, onInit ... will be triggered. Interact with the example and check the event log for the output.

For a complete list of events go to the documentation  See available lifecycle events →
Clear event log
EVENTS FIRED: 
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class DateDemo extends React.Component {
    show = () =>{
        this.refs.date.instance.show();
    }
    clear = () =>{
        this.refs.date.instance.clear();
    }
    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
    }
    onItemTap = (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
    }
    onChange = (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
    }
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.Date 
                        ref="date" 
                        onInit={this.onInit}
                        onMarkupReady={this.onMarkupReady}
                        onBeforeShow={this.onBeforeShow}
                        onPosition={this.onPosition}
                        onShow={this.onShow}
                        onSet={this.onSet}
                        onItemTap={this.onItemTap}
                        onDestroy={this.onDestroy}
                        onClose={this.onClose}
                        onChange={this.onChange}
                        onCancel={this.onCancel}
                        onBeforeClose={this.onBeforeClose}
                        onClear={this.onClear}
                    >
                        <mobiscroll.Input inputStyle="box" labelStyle="stacked" placeholder="Please Select..." />
                    </mobiscroll.Date>
                    <div className="mbsc-btn-group">
                        <button type="button" onClick={this.clear}>Clear</button>
                        <button type="button" onClick={this.show}>Show</button>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

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

Date & Time - Theming capabilities

Change demo
Theming capabilities

Customize the look and feel with themes or custom CSS. 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 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 = {
    theme: '',
    lang: ''
};

class DatetimeDemo 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>
                                <label>
            					    Light
                                    <mobiscroll.Date
                                        theme="ios"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Date
                                        theme="ios-dark"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Custom
                                    <mobiscroll.Date
                                        theme="ios-gray"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Material Theme</mobiscroll.FormGroupTitle>
                                <label>
            					    Light
                                    <mobiscroll.Date
                                        theme="material"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Date
                                        theme="material-dark"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Custom
                                    <mobiscroll.Date
                                        theme="material-indigo"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </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>
                                <label>
            					    Light
                                    <mobiscroll.Date
                                        theme="windows"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Date
                                        theme="windows-dark"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Custom
                                    <mobiscroll.Date
                                        theme="windows-yellow"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                        <div className="mbsc-col-sm-12 mbsc-col-md-6">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Mobiscroll Theme</mobiscroll.FormGroupTitle>
                                <label>
            					    Light
                                    <mobiscroll.Date
                                        theme="mobiscroll"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Date
                                        theme="mobiscroll-dark"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Custom
                                    <mobiscroll.Date
                                        theme="mobiscroll-lime"
                                        display="center"
                                        touchUi={false}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </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 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for React $595


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

Framework license


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

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

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

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

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

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

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

Do you need additional support seats?

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

Add the source code?

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

What framework are you using?

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

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

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

Email address

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

What framework are you using?

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

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

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

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

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

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

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

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app 🎉

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

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

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

Let us know if we can help and enjoy!

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

You are setting a password for the account

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

Your password has been changed!

Thanks for downloading
Customize demos locally

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

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

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


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

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
Color 10
Date & Time 20
Event Calendar 25
Forms 9
Grid layout 7
Image 7
Inputs & fields 6
Listview 17
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 19
Scroller 7
Scrollview 5
Select 16
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Bootstrap
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos