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

Date & Time - Date picker

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

$(function () {

    $('#demo-date').mobiscroll().date();

    $('#demo-header').mobiscroll().date({
        headerText: '{value}'
    });

    $('#demo-non-form').mobiscroll().date();

    $('#demo-external').mobiscroll().date({
        showOnTap: false,
        showOnFocus: false,
        onInit: function (event, inst) {
            inst.setVal(new Date(), true);
        }
    });

    $('#show').click(function () {
        $('#demo-external').mobiscroll('show');
        return false;
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">The datetime can be used inside a mobiscroll form or on any input.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Inside Mobiscroll Form</div>
        <label>
            Date
            <input id="demo-date" placeholder="Please Select..." />
        </label>
        <label>
            Header text
            <input id="demo-header" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        <p class="mbsc-thin">Use it on any input or non-mobiscroll form.</p>
    </div>
</div>
<div class="demo-container">
    <label for="demo-non-form">Date</label>
    <input id="demo-non-form" class="demo-non-form" placeholder="Please Select..." />
    <label for="demo-external">Show on button click only</label>
    <div class="external-container">
        <input id="demo-external" class="demo-non-form" />
        <button id="show" class="external-button">Show</button>
    </div>
</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;
}

.demo-container {
    padding: 0 1em;
}

.external-container {
    display: flex;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 12px 16px;
}

Date & Time - Time picker

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

$(function () {

    var now = new Date();

    $('#demo').mobiscroll().time({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time-12h').mobiscroll().time({
        timeFormat: 'hh:ii A',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time-24h').mobiscroll().time({
        timeFormat: 'HH:ii',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time-hms').mobiscroll().time({
        timeFormat: 'HH:ii:ss',
        headerText: 'Time: {value}',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">The time picker inherits localization settings and supports different formats.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Picking Time</div>
        <label>
            Default
            <input id="demo" />
        </label>
        <label>
            12 h
            <input id="time-12h" />
        </label>
        <label>
            24 h
            <input id="time-24h" />
        </label>
        <label>
            Hour, min, sec
            <input id="time-hms" />
        </label>
    </div>
</div>

Date & Time - Datetime picker

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

$(function () {

    $('#demo').mobiscroll().datetime({
        dateWheels: '|D M d|'
    });

    $('#exp').mobiscroll().datetime();

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Use a compact date & time picker or have everything on its own wheel.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Picking date and time</div>
        <label>
            Compact
            <input id="demo" placeholder="Please Select..." />
        </label>
        <label>
            Expanded
            <input id="exp" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Min & Max

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

$(function () {
    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());

    $('#demo').mobiscroll().date({
        min: minDate
    });

    $('#maxdate').mobiscroll().date({
        max: maxDate
    });

    $('#dob').mobiscroll().date({
        max: bday
    });

    $('#mindate').mobiscroll().date({
        min: minDate
    });

    $('#inf').mobiscroll().date();

    $('#mintime').mobiscroll().time({
        min: minTime
    });

    $('#maxtime').mobiscroll().time({
        max: maxTime
    });

    $('#minmax').mobiscroll().time({
        min: minTime,
        max: maxTime
    });

    $('#dateStr').mobiscroll().date({
        max: '2018-08-31T00:00',
        min: '07/01/2018'
    });

    $('#moment').mobiscroll().date({
        max: moment([2018, 8, 30]),
        min: moment([2018, 7, 1])
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Set min and max values to restrict the available dates.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Time</div>
        <label>
            Min date
            <input id="demo" placeholder="Please Select..." />
        </label>
        <label>
            Max date
            <input id="maxdate" placeholder="Please Select..." />
        </label>
        <label>
            Date of birth
            <input id="dob" placeholder="Please Select..." />
        </label>
        <label>
            Infinite
            <input id="inf" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date</div>
        <label>
            Min time
            <input id="mintime" placeholder="Please Select..." />
        </label>
        <label>
            Max time
            <input id="maxtime" placeholder="Please Select..." />
        </label>
        <label>
            Min & max
            <input id="minmax" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Besides date objects you can use date strings and moment.js for min & max.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date formats</div>
        <label>
            String
            <input id="dateStr" placeholder="Please Select..." />
        </label>
        <label>
            Moment JS
            <input id="moment" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Setting invalids

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

$(function () {

    $('#demo').mobiscroll().date({
        invalid: [
            new Date(2018, 1, 3),
            new Date(2018, 6, 11)
        ]
    });

    $('#rec').mobiscroll().date({
        invalid: [
            '1/1',
            '1/2',
            '12/25',
            '12/26',
            '7/10',
            '7/13',
            '9/10',
            '11/10'
        ]
    });

    $('#week').mobiscroll().date({
        invalid: ['w0', 'w2', 'w6']
    });

    $('#daterange').mobiscroll().date({
        invalid: [
            { start: new Date(2018, 0, 27), end: new Date(2018, 2, 15) }
        ]
    });

    $('#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' }
        ]
    });

    $('#timerange').mobiscroll().time({
        invalid: [
            { start: '12:00', end: '16:00' }
        ]
    });

    $('#dateStr').mobiscroll().date({
        invalid: [
            '2018-06-15T00:00',
            '2018-06-18T00:00',
            '06/20/2018',
            '06/23/2018'
        ]
    });

    // make sure that moment js is loaded
    $('#moment').mobiscroll().date({
        invalid: [
            moment([2018, 5, 15]),
            moment([2018, 5, 18])
        ]
    });
});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Invalidating/disabling dates can be done a couple different ways.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Invalidating dates</div>
        <label>
            Exact Date
            <input id="demo" placeholder="Please Select..." />
        </label>
        <label>
            Recurring
            <input id="rec" placeholder="Please Select..." />
        </label>
        <label>
            Weekdays
            <input id="week" placeholder="Please Select..." />
        </label>
        <label>
            Range
            <input id="daterange" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Invalidating time</div>
        <label>
            Exact
            <input id="time" placeholder="Please Select..." />
        </label>
        <label>
            Range
            <input id="timerange" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Besides date objects you can use date strings and moment.js for invalids.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date formats</div>
        <label>
            String
            <input id="dateStr" placeholder="Please Select..." />
        </label>
        <label>
            Moment JS
            <input id="moment" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Month and year

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

$(function () {

    var now = new Date(),
        until = new Date(now.getFullYear() + 10, now.getMonth());

    $('#demo').mobiscroll().date({
        dateWheels: 'mm - MM  yy',
        dateFormat: 'mm/yy',
        min: now,
        minWidth: 100,
        max: until
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Add a new credit card</div>
        <label>
            Name
            <input type="text" placeholder="Required" />
        </label>
        <label>
            Card
            <input type="text" placeholder="Credit card number" />
        </label>
        <label>
            Expiration
            <input id="demo" type="text" placeholder="Required" value="12/2020" />
        </label>
        <label>
            Security
            <input type="text" placeholder="3-digit CVV" />
        </label>
    </div>
</div>

Date & Time - Steps

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

$(function () {

    $('#demo').mobiscroll().datetime({
        steps: {
            minute: 15
        },
        dateWheels: '|D M d|'
    });

    $('#time').mobiscroll().time({
        steps: {
            minute: 5
        }
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Set the time steps between wheel values. E.g. 5 min or 15 min.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Variable Steps</div>
        <label>
            Date & time
            <input id="demo" placeholder="Please Select..." />
        </label>
        <label>
            Time
            <input id="time" type="text" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Data types

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

$(function () {

    var dateInstance = $('#date').mobiscroll().datetime({
            dateWheels: '|D M d|',
            onSet: function (event, inst) {
                updateValue('returnVal', inst);
            }
        }).mobiscroll('getInst'),

        isoInstance = $('#demo-iso').mobiscroll().datetime({
            dateWheels: '|D M d|',
            returnFormat: 'iso8601',
            onSet: function (event, inst) {
                updateValue('returnISO', inst);
            }
        }).mobiscroll('getInst'),

        localeInstance = $('#demo-locale').mobiscroll().datetime({
            dateWheels: '|D M d|',
            returnFormat: 'locale',
            onSet: function (event, inst) {
                updateValue('returnLocale', inst);
            }
        }).mobiscroll('getInst'),

        momentInstance = $('#demo-moment').mobiscroll().datetime({
            dateWheels: '|D M d|',
            returnFormat: 'moment',
            onSet: function (event, inst) {
                updateValue('returnMoment', inst);
            }
        }).mobiscroll('getInst');

    $('#setDate').click(function () {
        $('#date').mobiscroll('setVal', new Date(1995, 11, 17, 15, 24), true);
        updateValue('returnVal', dateInstance);
    });

    $('#setISO').click(function () {
        $('#demo-iso').mobiscroll('setVal', '2008-09-15T15:53:00', true);
        updateValue('returnISO', isoInstance);
    });

    $('#setLocale').click(function () {
        $('#demo-locale').mobiscroll('setVal', '04/25/2010 8:15 AM', true);
        updateValue('returnLocale', localeInstance);
    });

    $('#setMoment').click(function () {
        // make sure that moment js is loaded
        $('#demo-moment').mobiscroll('setVal', moment([2018, 3, 27, 12, 15]), true);
        updateValue('returnMoment', momentInstance);
    });

    function updateValue(id, inst) {
        if (id == 'returnMoment') {
            document.getElementById(id).innerHTML = inst.getVal().format();
        } else {
            document.getElementById(id).innerHTML = inst.getVal();
        }
    }

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Javascript date objects, ISO 8601 date strings and moment.js is supported!</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Js Date Objects</div>
        <div class="mbsc-btn-group-block">
            <button id="setDate" class="mbsc-btn-primary">Set: Sun Dec 17 1995 03:24:00 GMT</button>
        </div>
        <div>
            <label>
                Date object
                <input id="date" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnVal"></text>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Date strings</div>
        <div class="mbsc-btn-group-block">
            <button id="setISO" class="mbsc-btn-primary">Set: 2008-09-15T15:53:00</button>
        </div>
        <div>
            <label>
                ISO string
                <input id="demo-iso" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnISO"></text>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Localized Strings</div>
        <div class="mbsc-btn-group-block">
            <button id="setLocale" class="mbsc-btn-primary">Set: 04/25/2010 8:15 AM</button>
        </div>
        <div>
            <label>
                Locale format
                <input id="demo-locale" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnLocale"></text>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Moment JS Objects</div>
        <div class="mbsc-btn-group-block">
            <button id="setMoment" class="mbsc-btn-primary">Set: 2018-04-18T15:00:00+03:00</button>
        </div>
        <div>
            <label>
                Moment JS
                <input id="demo-moment" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnMoment"></text>
    </div>
</div>

Date & Time - Setting values

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

$(function () {

    $('#demo').mobiscroll().date();

    $('#default').mobiscroll().date({
        defaultValue: new Date(2018, 2, 2)
    });

    var instance = $('#inline').mobiscroll().date({
        display: 'inline'
    }).mobiscroll('getInst');

    $('#now').mobiscroll().date({
        buttons: ['now', 'set', 'cancel']
    });

    $('#custom').mobiscroll().date({
        buttons: [{
                text: 'Custom',
                handler: function (event, inst) {
                    inst.setVal(new Date(2018, 0, 1), true, true, false, 1000);
                }
            },
            'set',
            'cancel'
        ]
    });

    $('#auto').mobiscroll().date({
        buttons: ['cancel']
    });

    $('#today').off().click(function () {
        instance.setVal(new Date(), true, true, false, 1000);
        return false;
    });

    $('#jan').off().click(function () {
        instance.setVal(new Date(2018, 0, 2), true, true, false, 1000);
        return false;
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Control the default value or programatically set the value runtime.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Controlling the default value</div>
        <label>
            Default
            <input id="demo" placeholder="Please Select..." />
        </label>
        <label>
            Custom default
            <input id="default" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Setting a custom value</div>
        <div class="mbsc-btn-group-block">
            <button id="jan">02-01-2018</button>
            <button id="today">Today</button>
        </div>
        <div id="inline"></div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Buttons API</div>
        <label>
            Now
            <input id="now" placeholder="Please Select..." />
        </label>
        <label>
            Custom
            <input id="custom" placeholder="Please Select..." />
        </label>
        <label>
            Auto set
            <input id="auto" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Formatting values

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

$(function () {

    var now = new Date();

    $('#date').mobiscroll().date({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-sep').mobiscroll().date({
        dateFormat: 'dd.mm.yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-month').mobiscroll().date({
        dateFormat: 'd MM yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-month-year').mobiscroll().date({
        dateFormat: 'mm/yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-month-only').mobiscroll().date({
        dateFormat: 'MM',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-day').mobiscroll().date({
        dateFormat: 'D d M, yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-atom').mobiscroll().date({
        dateFormat: 'yy-mm-dd',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#date-cookie').mobiscroll().date({
        dateFormat: 'D, dd M yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time').mobiscroll().time({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time-12h').mobiscroll().time({
        timeFormat: 'hh:ii A',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time-24h').mobiscroll().time({
        timeFormat: 'HH:ii',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#time-hms').mobiscroll().time({
        timeFormat: 'HH:ii:ss',
        headerText: 'Time: {value}',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#datetime').mobiscroll().datetime({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#datetime-day').mobiscroll().datetime({
        dateFormat: 'D d M, yy',
        timeFormat: 'H:ii',
        dateWheels: '|D d M, yy|',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date</div>
        <label>
            Default
            <input id="date" />
        </label>
        <label>
            Separator
            <input id="date-sep" />
        </label>
        <label>
            Month only
            <input id="date-month-only" />
        </label>
        <label>
            Month name
            <input id="date-month" />
        </label>
        <label>
            Month/year
            <input id="date-month-year" />
        </label>
        <label>
            Day of week
            <input id="date-day" />
        </label>
        <label>
            ATOM
            <input id="date-atom" />
        </label>
        <label>
            COOKIE
            <input id="date-cookie" />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Time</div>
        <label>
            Default
            <input id="time" />
        </label>
        <label>
            12 h
            <input id="time-12h" />
        </label>
        <label>
            24 h
            <input id="time-24h" />
        </label>
        <label>
            Hour, min, sec
            <input id="time-hms" />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date & Time</div>
        <label>
            Default
            <input id="datetime" />
        </label>
        <label>
            Day name
            <input id="datetime-day" />
        </label>
    </div>
</div>

Date & Time - RTL Support

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

$(function () {

    $('#arabic').mobiscroll().date({
        lang: 'ar'
    });

    $('#hebrew').mobiscroll().date({
        lang: 'he'
    });

    $('#farsi').mobiscroll().date({
        lang: 'fa'
    });

    $('#demo').mobiscroll().date({
        rtl: true
    });

    $('#myform').mobiscroll().form({
        rtl: true
    });

});
<div id="myform">
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Use RTL with locale settings where applicable or manually enable it.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">RTL enabled by default</div>
        <label>
            Arabic
            <input id="arabic" placeholder="Please Select..." />
        </label>
        <label>
            Hebrew
            <input id="hebrew" placeholder="Please Select..." />
        </label>
        <label>
            Farsi
            <input id="farsi" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Manually set RTL</div>
        <label>
            RTL
            <input id="demo" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Event handlers

Choose demo
$(function () {

    $('#demo').mobiscroll().date({
        theme: '',
        lang: '',
        onInit: function (event, inst) {
            // Your custom event handler goes here
        },
        onMarkupReady: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onPosition: function (event, inst) {
            // Your custom event handler goes here
        },
        onShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onSet: function (event, inst) {
            // Your custom event handler goes here
        },
        onItemTap: function (event, inst) {
            // Your custom event handler goes here
        },
        onDestroy: function (event, inst) {
            // Your custom event handler goes here
        },
        onClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onChange: function (event, inst) {
            // Your custom event handler goes here
        },
        onCancel: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onClear: function (event, inst) {
            // Your custom event handler goes here
        }
    });
});
<input id="demo" placeholder="Please Select..." />
Clear event log
EVENTS FIRED: 

Date & Time - Theming capabilities

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

$(function () {

    $('#demo-ios').mobiscroll().date({
        theme: 'ios'
    });

    $('#demo-ios-dark').mobiscroll().date({
        theme: 'ios-dark'
    });

    $('#demo-material').mobiscroll().date({
        theme: 'material'
    });

    $('#demo-material-dark').mobiscroll().date({
        theme: 'material-dark'
    });

    $('#demo-windows').mobiscroll().date({
        theme: 'windows'
    });

    $('#demo-windows-dark').mobiscroll().date({
        theme: 'windows-dark'
    });

    $('#demo-mobiscroll').mobiscroll().date({
        theme: 'mobiscroll'
    });

    $('#demo-mobiscroll-dark').mobiscroll().date({
        theme: 'mobiscroll-dark'
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Use it with any of the base themes: iOS, Android Material, Windows or Mobiscroll.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">iOS Theme</div>
        <label>
            Light
            <input id="demo-ios" placeholder="Please Select..." />
        </label>
        <label>
            Dark
            <input id="demo-ios-dark" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Material Theme</div>
        <label>
            Light
            <input id="demo-material" placeholder="Please Select..." />
        </label>
        <label>
            Dark
            <input id="demo-material-dark" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Windows Theme</div>
        <label>
            Light
            <input id="demo-windows" placeholder="Please Select..." />
        </label>
        <label>
            Dark
            <input id="demo-windows-dark" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Mobiscroll Theme</div>
        <label>
            Light
            <input id="demo-mobiscroll" placeholder="Please Select..." />
        </label>
        <label>
            Dark
            <input id="demo-mobiscroll-dark" placeholder="Please Select..." />
        </label>
    </div>

</div>

Date & Time - Display modes

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

$(function () {

    $('#demo-bottom').mobiscroll().date({
        display: 'bottom'
    });

    $('#demo-top').mobiscroll().date({
        display: 'top'
    });

    $('#demo-center').mobiscroll().date({
        display: 'center'
    });

    $('#demo-bubble').mobiscroll().date({
        display: 'bubble'
    });

    $('#demo-inline').mobiscroll().date({
        display: 'inline',
        layout: 'liquid'
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Try different display modes</div>
        <label>
            Bottom
            <input id="demo-bottom" placeholder="Please Select..." />
        </label>
        <label>
            Top
            <input id="demo-top" type="text" placeholder="Please Select..." />
        </label>
        <label>
            Center
            <input id="demo-center" type="text" placeholder="Please Select..." />
        </label>
        <label>
            Bubble
            <input id="demo-bubble" type="text" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        <p class="mbsc-thin">With inline display you can embed the Date & Time component in almost any markup or form.</p>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Embedded date picker</div>
        <div id="demo-inline"></div>
    </div>
</div>
light
dark
light
dark

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 35 components, including with the Framework license.



Mobiscroll for JQuery $395


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 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 35 components, including with the Framework license.



Mobiscroll for JQuery $395


  • 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 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 35 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 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 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 30 day trial

What framework are you using?

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

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

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow steps to install mobiscroll and use example
Close window

Step 1.

Install the Mobiscroll CLI from npm (skip this step if it's already installed).

Copy command
$ npm install -g @mobiscroll/cli

Step 2.

Run the config command in the root folder of the Ionic project.
You will be prompted to log in with your mobiscroll account (set password here).
If you don't have an app, create a starter with the Ionic CLI $ ionic start myStarterApp tabs

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite
If your app is using lazy loading, add --lite --lazy.

Step 3.

Copy the code into your app.
The HTML goes into the markup, the Typescript into the TS file and the CSS into the page stylesheet (scss file).

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app.

Copy command
$ ionic serve

Looking for an already configured app? Download kitchen sink for Ionic

Thanks for downloading
Try and customize the app locally

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

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

Let us know if we can help and enjoy!

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

You are setting a password for the account

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

Your password has been changed!

Thanks for downloading
Customize demos locally

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

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

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


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

The demo is using an in-browser TypeScript transpiler app as its base. Extract the zip file and open the index.html on your local dev server.

You can also use live-server. For installation and usage, open a terminal window and follow these steps.

Step 1. Install live-server
$ npm install -g live-server
Step 2. Start server & run app
$ live-server

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

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

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

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

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

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

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Controls
Calendar 20
Cards 10
Color 9
Date & Time 14
Event Calendar 16
Forms 21
Image 6
Listview 17
Measurement 10
Navigation 7
Number 7
Numpad 12
Option List 4
Range 17
Scroller 6
Scrollview 5
Select 13
Styling 4
Timer 5
Timespan 6
Treelist 6
Widget 10
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