Date & Time for Angular and Ionic 2/3/4

Learn more

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions, MbscFormOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    mobile: Date;
    desktop: Date;

    mobileSettings: MbscDatetimeOptions = {
        display: 'bubble'
    };

    desktopSettings: MbscDatetimeOptions = {
        display: 'bubble',
        touchUi: false
    };

    formSettings: MbscFormOptions = {
        inputStyle: 'box'
    };
}
<mbsc-form [options]="formSettings">
    <div class="mbsc-grid mbsc-form-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <mbsc-date [(ngModel)]="mobile" [options]="mobileSettings" placeholder="Please Select...">Mobile</mbsc-date>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <mbsc-date [(ngModel)]="desktop" [options]="desktopSettings" placeholder="Please Select...">Desktop</mbsc-date>
            </div>
        </div>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date: Date;
    time: Date;
    nonForm: Date;
    external: Date = new Date();

    externalSettings: MbscDatetimeOptions = {
        showOnTap: false,
        showOnFocus: false
    };
}
<mbsc-form input-style="box">
    <div class="mbsc-grid mbsc-form-grid">
        <mbsc-form-group>
            <mbsc-form-group-title>Using the Data & Time with Mobiscroll form fields</mbsc-form-group-title>
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-date [(ngModel)]="date" placeholder="Please Select...">Date</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-time [(ngModel)]="time" placeholder="Please Select...">Time</mbsc-time>
                </div>
            </div>
        </mbsc-form-group>
    </div>
</mbsc-form>
<div class="mbsc-grid">
    <div class="mbsc-row">
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <label for="demo-app-date-non-form">Date</label>
            <input id="demo-app-date-non-form" [(ngModel)]="nonForm" mbsc-date class="demo-non-form" placeholder="Please Select..." />
        </div>
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <div class="mbsc-row mbsc-align-items-end">
                <div class="mbsc-col-9">
                    <label for="demo-app-date-external">Show on button click only</label>
                    <input id="demo-app-date-external" [(ngModel)]="external" mbsc-date [mbsc-options]="externalSettings" #externalDate="mobiscroll" class="demo-non-form" />
                </div>
                <div class="mbsc-col-3 external-container">
                    <button (click)="externalDate.instance.show()" class="external-button">Show</button>
                </div>
            </div>
        </div>
    </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;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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]).

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';
import moment from 'moment';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date: Date;
    iso: string;
    locale: string;
    moment: Date;

    dateSettings: MbscDatetimeOptions = {
        dateWheels: '|D M d|'
    };

    isoSettings: MbscDatetimeOptions = {
        dateWheels: '|D M d|',
        returnFormat: 'iso8601'
    };

    localeSettings: MbscDatetimeOptions = {
        dateWheels: '|D M d|',
        returnFormat: 'locale'
    };

    momentSettings: MbscDatetimeOptions = {
        dateWheels: '|D M d|',
        returnFormat: 'moment',
        // need this if moment is not accessible globally
        moment: moment
    };

    setDate() {
        this.date = new Date(1995, 11, 17, 15, 24);
    }

    setISO() {
        this.iso = '2008-09-15T15:53:00';
    }

    setLocale() {
        this.locale = '04/25/2010 8:15 AM';
    }

    setMoment() {
        // make sure that moment js is loaded
        this.moment = moment([2018, 3, 27, 12, 15]);
    }
}
<mbsc-form>
    <mbsc-form-group>
        <mbsc-form-group-title>Controlling the default value</mbsc-form-group-title>
        <div class="mbsc-btn-group-block">
            <mbsc-button (click)="setDate()" class="mbsc-btn-primary">Set: Sun Dec 17 1995 03:24:00 GMT</mbsc-button>
        </div>
        <div>
            <mbsc-datetime [(ngModel)]="date" [options]="dateSettings">Date object</mbsc-datetime>
        </div>
    </mbsc-form-group>
    <mbsc-form-group class="mbsc-padding">
        Return value: {{date}}
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Working with Date strings</mbsc-form-group-title>
        <div class="mbsc-btn-group-block">
            <mbsc-button (click)="setISO()" class="mbsc-btn-primary">Set: 2008-09-15T15:53:00</mbsc-button>
        </div>
        <div>
            <mbsc-datetime [(ngModel)]="iso" [options]="isoSettings">ISO string</mbsc-datetime>
        </div>
    </mbsc-form-group>
    <mbsc-form-group class="mbsc-padding">
        Return value: {{iso}}
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Working with Localized Strings</mbsc-form-group-title>
        <div class="mbsc-btn-group-block">
            <mbsc-button (click)="setLocale()" class="mbsc-btn-primary">Set: 04/25/2010 8:15 AM</mbsc-button>
        </div>
        <div>
            <mbsc-datetime [(ngModel)]="locale" [options]="localeSettings">Locale format</mbsc-datetime>
        </div>
    </mbsc-form-group>
    <mbsc-form-group class="mbsc-padding">
        Return value: {{locale}}
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Working with Moment JS Objects</mbsc-form-group-title>
        <div class="mbsc-btn-group-block">
            <mbsc-button (click)="setMoment()" class="mbsc-btn-primary">Set: 2018-04-27T12:15:00+03:00</mbsc-button>
        </div>
        <div>
            <mbsc-datetime [(ngModel)]="moment" [options]="momentSettings">Moment JS</mbsc-datetime>
        </div>
    </mbsc-form-group>
    <mbsc-form-group class="mbsc-padding">
        Return value: {{moment ? moment.format() : ''}}
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date: Date;
    dateTop: Date;
    dateCenter: Date;
    dateBubble: Date;
    dateInline: Date;

    dateSettings: MbscDatetimeOptions = {
        display: 'bottom'
    };
    dateTopSettings: MbscDatetimeOptions = {
        display: 'top'
    };
    dateCenterSettings: MbscDatetimeOptions = {
        display: 'center'
    };
    dateBubbleSettings: MbscDatetimeOptions = {
        display: 'bubble'
    };
    dateInlineSettings: MbscDatetimeOptions = {
        display: 'inline'
    };
}
<mbsc-form>
    <mbsc-form-group>
        <mbsc-form-group-title>Try different display modes</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="date" [options]="dateSettings" placeholder="Please select...">Bottom</mbsc-date>
        <mbsc-date [(ngModel)]="dateTop" [options]="dateTopSettings" placeholder="Please select...">Top</mbsc-date>
        <mbsc-date [(ngModel)]="dateCenter" [options]="dateCenterSettings" placeholder="Please select...">Center</mbsc-date>
        <mbsc-date [(ngModel)]="dateBubble" [options]="dateBubbleSettings" placeholder="Please select...">Bubble</mbsc-date>
    </mbsc-form-group>
    <mbsc-form-group class="mbsc-padding">
        <p class="mbsc-thin">With inline display you can embed the Date & Time component in almost any markup or form.</p>
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Embedded date picker</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="dateInline" [options]="dateInlineSettings"></mbsc-date>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    top: Date;
    bottom: Date;
    anchored: Date;
    center: Date;
    datetime: Date;
    date: Date;
    time: Date;
    setBtn: Date;
    setCancel: Date;

    setBtnSettings: MbscDatetimeOptions = {
        display: 'center',
        touchUi: false,
        buttons: ['set']
    };

    setCancelSettings: MbscDatetimeOptions = {
        display: 'center',
        touchUi: false,
        buttons: ['set', 'cancel']
    };
}
<mbsc-form>
    <div class="mbsc-grid">
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>Pop-up positioning</mbsc-form-group-title>
                    <mbsc-date [(ngModel)]="top" [touchUi]="false" display="top" placeholder="Please select...">Top</mbsc-date>
                    <mbsc-date [(ngModel)]="bottom" [touchUi]="false" display="bottom" placeholder="Please select...">Bottom</mbsc-date>
                    <mbsc-date [(ngModel)]="anchored" [touchUi]="false" placeholder="Please select...">Anchored</mbsc-date>
                    <mbsc-date [(ngModel)]="center" [touchUi]="false" display="center" placeholder="Please select...">Center</mbsc-date>
                </mbsc-form-group>
            </div>
        </div>
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>Basic usage</mbsc-form-group-title>
                    <mbsc-datetime [(ngModel)]="datetime" [touchUi]="false" placeholder="Please select...">Date & Time</mbsc-datetime>
                    <mbsc-date [(ngModel)]="date" [touchUi]="false" placeholder="Please select...">Date</mbsc-date>
                    <mbsc-time [(ngModel)]="time" [touchUi]="false" placeholder="Please select...">Time</mbsc-time>
                </mbsc-form-group>
            </div>
        </div>
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>With buttons</mbsc-form-group-title>
                    <mbsc-datetime [(ngModel)]="setBtn" [options]="setBtnSettings" placeholder="Please select...">Set button</mbsc-datetime>
                    <mbsc-datetime [(ngModel)]="setCancel" [options]="setCancelSettings" placeholder="Please select...">Set/Cancel</mbsc-datetime>
                </mbsc-form-group>
            </div>
        </div>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {

    dateTimeSetting: MbscDatetimeOptions = {
        responsive: {
            xsmall: {
                dateWheels: '|D M d|'
            },
            small: {
                dateWheels: '|D M d|',
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    };

    dateSetting: MbscDatetimeOptions = {
        headerText: '{value}',
        responsive: {
            small: {
                display: 'bubble'
            },
            medium: {
                headerText: false,
                touchUi: false
            }
        }
    };

    timeSetting: MbscDatetimeOptions = {
        responsive: {
            small: {
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    };

}
<mbsc-form>

    <div class="mbsc-align-center">
        <mbsc-note color="primary">The Select component can be used on mobile and desktop. See desktop functionality below.</mbsc-note>
    </div>

    <div class="mbsc-grid">
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>Basic usage</mbsc-form-group-title>

            <mbsc-datetime placeholder="Please select..." [options]="dateTimeSetting">Date & time</mbsc-datetime>
            <mbsc-date placeholder="Please select..." [options]="dateSetting">Date</mbsc-date>
            <mbsc-time placeholder="Please select..." [options]="timeSetting">Time</mbsc-time>
            </mbsc-form-group>
        </div>
    </div>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

const now = new Date();

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    mobile: Date = now;
    desktop: Date = now;
    header: Date = now;
    nonForm: Date = now;
    external: Date = now;

    desktopSettings: MbscDatetimeOptions = {
        touchUi: false
    };

    headerSettings: MbscDatetimeOptions = {
        headerText: '{value}'
    };

    externalSettings: MbscDatetimeOptions = {
        showOnTap: false,
        showOnFocus: false
    };
}
<mbsc-form input-style="box" label-style="stacked">
    <div class="mbsc-grid mbsc-form-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-4">
                <mbsc-date [(ngModel)]="mobile">Mobile</mbsc-date>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4">
                <mbsc-date [(ngModel)]="desktop" [options]="desktopSettings">Desktop</mbsc-date>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4">
                <mbsc-date [(ngModel)]="header" [options]="headerSettings">Header text</mbsc-date>
            </div>
        </div>
    </div>
</mbsc-form>
<div class="mbsc-grid">
    <div class="mbsc-row">
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <label for="demo-app-date-non-form">Date</label>
            <input id="demo-app-date-non-form" [(ngModel)]="nonForm" mbsc-date class="demo-non-form" />
        </div>
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <div class="mbsc-row mbsc-align-items-end">
                <div class="mbsc-col-9">
                    <label for="demo-app-date-external">Show on button click only</label>
                    <input id="demo-app-date-external" [(ngModel)]="external" mbsc-date [mbsc-options]="externalSettings" #externalDate="mobiscroll" class="demo-non-form" />
                </div>
                <div class="mbsc-col-3 external-container">
                    <button (click)="externalDate.instance.show()" class="external-button">Show</button>
                </div>
            </div>
        </div>
    </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;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

const now = new Date();

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    mobile: Date = now;
    desktop: Date = now;
    h12: Date = now;
    h24: Date = now;
    hms: Date = now;
    nonForm: Date = now;
    external: Date = now;

    desktopSettings: MbscDatetimeOptions = {
        touchUi: false
    };

    h12Settings: MbscDatetimeOptions = {
        timeFormat: 'hh:ii A'
    };

    h24Settings: MbscDatetimeOptions = {
        timeFormat: 'HH:ii'
    };

    hmsSettings: MbscDatetimeOptions = {
        timeFormat: 'HH:ii:ss',
        headerText: 'Time: {value}'
    };

    externalSettings: MbscDatetimeOptions = {
        showOnTap: false,
        showOnFocus: false
    };
}
<mbsc-form input-style="box" label-style="stacked">
    <div class="mbsc-grid mbsc-form-grid">
        <mbsc-form-group>
            <mbsc-form-group-title>Use it on mobile and desktop</mbsc-form-group-title>
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-time [(ngModel)]="mobile">Mobile</mbsc-time>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-time [(ngModel)]="desktop" [options]="desktopSettings">Desktop</mbsc-time>
                </div>
            </div>
        </mbsc-form-group>
        <mbsc-form-group>
            <mbsc-form-group-title>Time picker with different time formats</mbsc-form-group-title>
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <mbsc-time [(ngModel)]="h12" [options]="h12Settings">12 h</mbsc-time>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <mbsc-time [(ngModel)]="h24" [options]="h24Settings">24 h</mbsc-time>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <mbsc-time [(ngModel)]="hms" [options]="hmsSettings">Hour, Min, Sec</mbsc-time>
                </div>
            </div>
        </mbsc-form-group>
    </div>
</mbsc-form>
<div class="mbsc-grid">
    <div class="mbsc-row">
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <label for="demo-app-time-non-form">Time</label>
            <input id="demo-app-time-non-form" [(ngModel)]="nonForm" mbsc-time class="demo-non-form" />
        </div>
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <div class="mbsc-row mbsc-align-items-end">
                <div class="mbsc-col-9">
                    <label for="demo-app-time-external">Show on button click only</label>
                    <input id="demo-app-time-external" [(ngModel)]="external" mbsc-time [mbsc-options]="externalSettings" #externalDate="mobiscroll" class="demo-non-form" />
                </div>
                <div class="mbsc-col-3 external-container">
                    <button (click)="externalDate.instance.show()" class="external-button">Show</button>
                </div>
            </div>
        </div>
    </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;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

const now = new Date();

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})

export class AppComponent {
    compact: Date = now;
    expanded: Date = now;
    date: Date = now;
    time: Date = now;
    nonForm: Date = now;
    external: Date = now;

    compactSettings: MbscDatetimeOptions = {
        dateWheels: '|D M d|'
    };

    externalSettings: MbscDatetimeOptions = {
        showOnTap: false,
        showOnFocus: false
    };
}
<mbsc-form input-style="box" label-style="stacked">
    <div class="mbsc-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-7">
                <mbsc-form-group>
                    <mbsc-form-group-title>Date and time in the same field</mbsc-form-group-title>
                    <div class="mbsc-row mbsc-form-grid">
                        <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                            <mbsc-datetime [(ngModel)]="compact" [options]="compactSettings">Compact</mbsc-datetime>
                        </div>
                        <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                            <mbsc-datetime [(ngModel)]="expanded">Expanded</mbsc-datetime>
                        </div>
                    </div>
                </mbsc-form-group>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-5">
                <mbsc-form-group>
                    <mbsc-form-group-title>Date and time separately</mbsc-form-group-title>
                    <div class="mbsc-row mbsc-form-grid">
                        <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                            <mbsc-date [(ngModel)]="date">Date</mbsc-date>
                        </div>
                        <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                            <mbsc-time [(ngModel)]="time">Time</mbsc-time>
                        </div>
                    </div>
                </mbsc-form-group>
            </div>
        </div>
    </div>
</mbsc-form>
<div class="mbsc-grid">
    <div class="mbsc-row">
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <label for="demo-app-datetime-non-form">Date</label>
            <input id="demo-app-datetime-non-form" [(ngModel)]="nonForm" mbsc-datetime class="demo-non-form" />
        </div>
        <div class="mbsc-col-sm-12 mbsc-col-md-6">
            <div class="mbsc-row mbsc-align-items-end">
                <div class="mbsc-col-9">
                    <label for="demo-app-datetime-external">Show on button click only</label>
                    <input id="demo-app-datetime-external" [(ngModel)]="external" mbsc-datetime [mbsc-options]="externalSettings" #externalDate="mobiscroll" class="demo-non-form" />
                </div>
                <div class="mbsc-col-3 external-container">
                    <button (click)="externalDate.instance.show()" class="external-button">Show</button>
                </div>
            </div>
        </div>
    </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;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

let now = new Date();

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date: Date = new Date("2020-12");

    dateSettings: MbscDatetimeOptions = {
        dateWheels: 'mm - MM  yy',
        dateFormat: 'mm/yy',
        min: now,
        max: new Date(now.getFullYear() + 10, now.getMonth()),
        minWidth: 100
    };
}
<mbsc-form>
    <mbsc-form-group>
        <mbsc-form-group-title>Add a new credit card</mbsc-form-group-title>
        <mbsc-input type="text" placeholder="Required">Name</mbsc-input>
        <mbsc-input type="text" placeholder="Credit card number">Card</mbsc-input>
        <mbsc-date [(ngModel)]="date" [options]="dateSettings" placeholder="Required">Expiration</mbsc-date>
        <mbsc-input type="text" placeholder="3-digit CVV">Security</mbsc-input>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';
import moment from 'moment';

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

const 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());

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    mindate = now;
    maxdate = now;
    dob = now;
    inf = now;
    mintime = now;
    maxtime = now;
    minmax = now;
    dateStr = now;
    moment = now;

    mindateSettings: MbscDatetimeOptions = {
        min: minDate
    };
    maxdateSettings: MbscDatetimeOptions = {
        max: maxDate
    };
    dobSettings: MbscDatetimeOptions = {
        max: bday
    };
    mintimeSettings: MbscDatetimeOptions = {
        min: minTime
    };
    maxtimeSettings: MbscDatetimeOptions = {
        max: maxTime
    };
    minmaxSettings: MbscDatetimeOptions = {
        min: minTime,
        max: maxTime
    };
    dateStrSettings = {
        max: '2018-08-31T00:00',
        min: '07/01/2018'
    };
    momentSettings: MbscDatetimeOptions = {
        max: moment([2018, 8, 30]),
        min: moment([2018, 7, 1])
    };

}
<mbsc-form input-style="box" label-style="stacked">
    <div class="mbsc-grid">
        <mbsc-form-group>
            <mbsc-form-group-title>Restricting the date picker</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="mindate" [options]="mindateSettings">Min date</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="maxdate" [options]="maxdateSettings">Max date</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="dob" [options]="dobSettings">Date of birth</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="inf" mbsc-date>Infinite</mbsc-date>
                </div>
            </div>
        </mbsc-form-group>
        <mbsc-form-group>
            <mbsc-form-group-title>Restricting the time picker</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <mbsc-time [(ngModel)]="mintime" [options]="mintimeSettings">Min time</mbsc-time>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <mbsc-time [(ngModel)]="maxtime" [options]="maxtimeSettings">Max time</mbsc-time>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <mbsc-time [(ngModel)]="minmax" [options]="minmaxSettings">Min & max</mbsc-time>
                </div>
            </div>
        </mbsc-form-group>
        <mbsc-form-group>
            <mbsc-form-group-title>Date formats</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-date [(ngModel)]="dateStr" [options]="dateStrSettings">String</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-date [(ngModel)]="moment" [options]="momentSettings">Moment JS</mbsc-date>
                </div>
            </div>
        </mbsc-form-group>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';
import moment from 'moment';

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

const now = new Date();

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date = now;
    rec = now;
    week = now;
    dateRange = now;
    time = now;
    timeRange = now;
    dateVal = new Date(2018, 11, 19);
    timeVal = new Date(new Date().setHours(12, 30, 0, 0));
    dateStr = now;
    moment = now;

    dateSettings: MbscDatetimeOptions = {
        invalid: [
            new Date(2018, 1, 3),
            new Date(2018, 6, 11)
        ]
    };

    recSettings: MbscDatetimeOptions = {
        invalid: [
            '1/1',
            '1/2',
            '12/25',
            '12/26',
            '7/10',
            '7/13',
            '9/10',
            '11/10'
        ]
    };

    weekSettings: MbscDatetimeOptions = {
        invalid: ['w0', 'w2', 'w6']
    };

    dateRangeSettings: MbscDatetimeOptions = {
        invalid: [
            { start: new Date(2018, 0, 27), end: new Date(2018, 2, 15) }
        ]
    };

    timeSettings: MbscDatetimeOptions = {
        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' }
        ]
    };

    timeRangeSettings: MbscDatetimeOptions = {
        invalid: [
            { start: '12:00', end: '16:00' }
        ]
    };

    dateValSettings: MbscDatetimeOptions = {
        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) }
        ]
    };

    timeValSettings: MbscDatetimeOptions = {
        invalid: [
            { start: '13:00', end: '20:00' }
        ],
        valid: [
            { start: '17:00', end: '17:30' },
            { start: '18:00', end: '18:30' }
        ]
    };

    dateStrSettings: MbscDatetimeOptions = {
        invalid: [
            '2018-06-15T00:00',
            '2018-06-18T00:00',
            '06/20/2018',
            '06/23/2018'
        ]
    };

    // make sure that moment js is loaded
    momentSettings: MbscDatetimeOptions = {
        invalid: [
            moment([2018, 5, 15]),
            moment([2018, 5, 18])
        ]
    };
}
<mbsc-form input-style="box" label-style="stacked">
    <div class="mbsc-grid">
        <mbsc-form-group>
            <mbsc-form-group-title>Invalidating dates</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="date" [options]="dateSettings" placeholder="Please select...">Exact Date</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="rec" [options]="recSettings" placeholder="Please select...">Recurring</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="week" [options]="weekSettings" placeholder="Please select...">Weekdays</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                    <mbsc-date [(ngModel)]="dateRange" [options]="dateRangeSettings" placeholder="Please select...">Range</mbsc-date>
                </div>
            </div>
        </mbsc-form-group>
        <mbsc-form-group>
            <mbsc-form-group-title>Invalidating time</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-time [(ngModel)]="time" [options]="timeSettings" placeholder="Please select...">Exact Time</mbsc-time>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-time [(ngModel)]="timeRange" [options]="timeRangeSettings" placeholder="Please select...">Range</mbsc-time>
                </div>
            </div>
        </mbsc-form-group>
        <mbsc-form-group>
            <mbsc-form-group-title>Overriding inside invalid ranges</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-date [(ngModel)]="dateVal" [options]="dateValSettings" placeholder="Please select...">12/20/2018 - 12/31/2018</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-time [(ngModel)]="timeVal" [options]="timeValSettings" placeholder="Please select...">13:00 - 20:00</mbsc-time>
                </div>
            </div>
        </mbsc-form-group>
        <mbsc-form-group>
            <mbsc-form-group-title>Date formats</mbsc-form-group-title>
            <div class="mbsc-row mbsc-form-grid">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-date [(ngModel)]="dateStr" [options]="dateStrSettings" placeholder="Please select...">String</mbsc-date>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <mbsc-date [(ngModel)]="moment" [options]="momentSettings" placeholder="Please select...">Moment JS</mbsc-date>
                </div>
            </div>
        </mbsc-form-group>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    time: Date;
    dateTime: Date;

    timehSettings: MbscDatetimeOptions = {
        steps: {
            minute: 5
        }
    };

    dateTimehSettings: MbscDatetimeOptions = {
        steps: {
            minute: 15
        },
        dateWheels: '|D M d|'
    };
}
<mbsc-form [options]="formSettings">
    <mbsc-form-group>
        <mbsc-form-group-title>Variable Steps</mbsc-form-group-title>
        <mbsc-datetime [(ngModel)]="dateTime" [options]="dateTimehSettings" placeholder="Please Select...">Date & time</mbsc-datetime>
        <mbsc-time [(ngModel)]="time" [options]="timehSettings" placeholder="Please Select...">Time</mbsc-time>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    demo: Date;
    def: Date;;
    customVal: Date;
    now: Date;
    custom: Date;
    auto: Date;

    defSettings: MbscDatetimeOptions = {
        defaultValue: new Date(2018, 2, 2)
    };

    nowSettings: MbscDatetimeOptions = {
        buttons: ['now', 'set', 'cancel']
    };

    customSettings: MbscDatetimeOptions = {
        buttons: [{
                text: 'Custom',
                handler: (event, inst) => {
                    inst.setVal(new Date(2018, 0, 1), true, true, false, 1000);
                }
            },
            'set',
            'cancel'
        ]
    };

    autoSettings: MbscDatetimeOptions = {
        buttons: ['cancel']
    };

    setValue(inst) {
        inst.setVal(new Date(2018, 0, 2), true, true, false, 1000);
    }

    setToday(inst) {
        inst.setVal(new Date(), true, true, false, 1000);
    }
}
<mbsc-form>
    <mbsc-form-group>
        <mbsc-form-group-title>Controlling the default value</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="demo" placeholder="Please select...">Default</mbsc-date>
        <mbsc-date [(ngModel)]="def" [options]="defSettings" placeholder="Please select...">Custom default</mbsc-date>
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Setting a custom value</mbsc-form-group-title>
        <div class="mbsc-btn-group-block">
            <mbsc-button (click)="setValue(mbscDate.instance)">02-01-2018</mbsc-button>
            <mbsc-button (click)="setToday(mbscDate.instance)">Today</mbsc-button>
        </div>
        <mbsc-date [(ngModel)]="customVal" #mbscDate="mobiscroll" display="inline"></mbsc-date>
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Buttons API</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="now" [options]="nowSettings" placeholder="Please select...">Default setting</mbsc-date>
        <mbsc-date [(ngModel)]="custom" [options]="customSettings" placeholder="Please select...">Custom</mbsc-date>
        <mbsc-date [(ngModel)]="auto" [options]="autoSettings" placeholder="Please select...">Auto set</mbsc-date>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

const now = new Date();

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date = now;
    sep = now;
    month_only = now;
    month = now;
    year = now;
    day = now;
    atom = now;
    cookie = now;
    time = now;
    h12 = now;
    h24 = now;
    hms = now;
    datetime = now;
    datetimeDay = now;
    
    dateSettings: MbscDatetimeOptions = {
        dateFormat: 'dd.mm.yy'
    };
    sepSettings: MbscDatetimeOptions = {
        dateFormat: 'dd.mm.yy'
    };
    month_onlySettings: MbscDatetimeOptions = {
        dateFormat: 'MM'
    };
    monthSettings: MbscDatetimeOptions = {
        dateFormat: 'd MM yy'
    };
    yearSettings: MbscDatetimeOptions = {
        dateFormat: 'mm/yy'
    };
    daySettings: MbscDatetimeOptions = {
        dateFormat: 'D d M, yy'
    };
    atomSettings: MbscDatetimeOptions = {
        dateFormat: 'yy-mm-dd'
    };
    cookieSettings: MbscDatetimeOptions = {
        dateFormat: 'D, dd M yy'
    };
    h12Settings: MbscDatetimeOptions = {
        timeFormat: 'hh:ii A'
    };
    h24Settings: MbscDatetimeOptions = {
        timeFormat: 'HH:ii'
    };
    hmsSettings: MbscDatetimeOptions = {
        timeFormat: 'HH:ii:ss',
        headerText: 'Time: {value}'
    };
    datetimeDaySettings: MbscDatetimeOptions = {
        dateFormat: 'D d M, yy',
        timeFormat: 'H:ii',
        dateWheels: '|D d M, yy|'
    };
}
<mbsc-form>
    <mbsc-form-group>
        <mbsc-form-group-title>Date</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="date" [options]="dateSettings">Default</mbsc-date>
        <mbsc-date [(ngModel)]="sep" [options]="sepSettings">Separator</mbsc-date>
        <mbsc-date [(ngModel)]="month_only" [options]="month_onlySettings">Month name</mbsc-date>
        <mbsc-date [(ngModel)]="month" [options]="monthSettings">Month name</mbsc-date>
        <mbsc-date [(ngModel)]="year" [options]="yearSettings">Month/year</mbsc-date>
        <mbsc-date [(ngModel)]="day" [options]="daySettings">Day of week</mbsc-date>
        <mbsc-date [(ngModel)]="atom" [options]="atomSettings">ATOM</mbsc-date>
        <mbsc-date [(ngModel)]="cookie" [options]="cookieSettings">COOKIE</mbsc-date>
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Time</mbsc-form-group-title>
        <mbsc-time [(ngModel)]="time">Default</mbsc-time>
        <mbsc-time [(ngModel)]="h12" [options]="h12Settings">12 h</mbsc-time>
        <mbsc-time [(ngModel)]="h24" [options]="h24Settings">24 h</mbsc-time>
        <mbsc-time [(ngModel)]="hms" [options]="hmsSettings">Hour, min, sec</mbsc-time>
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Date & Time</mbsc-form-group-title>
        <mbsc-datetime [(ngModel)]="datetime">Default</mbsc-datetime>
        <mbsc-datetime [(ngModel)]="datetimeDay" [options]="datetimeDaySettings">Day name</mbsc-datetime>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions, MbscFormOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    arabic: Date;
    hebrew: Date;
    farsi: Date;
    rtl: Date;

    arabicSettings: MbscDatetimeOptions = {
        lang: 'ar'
    };

    hebrewSettings: MbscDatetimeOptions = {
        lang: 'he'
    };

    farsiSettings: MbscDatetimeOptions = {
        lang: 'fa'
    };

    rtlSettings: MbscDatetimeOptions = {
        rtl: true
    };

    formSettings: MbscFormOptions = {
        rtl: true
    };
}
<mbsc-form [options]="formSettings">
    <mbsc-form-group>
        <mbsc-form-group-title>RTL enabled by default</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="arabic" [options]="arabicSettings" placeholder="Please Select...">Arabic</mbsc-date>
        <mbsc-date [(ngModel)]="hebrew" [options]="hebrewSettings" placeholder="Please Select...">Hebrew</mbsc-date>
        <mbsc-date [(ngModel)]="farsi" [options]="farsiSettings" placeholder="Please Select...">Farsi</mbsc-date>
    </mbsc-form-group>
    <mbsc-form-group>
        <mbsc-form-group-title>Manually set RTL</mbsc-form-group-title>
        <mbsc-date [(ngModel)]="rtl" [options]="rtlSettings" placeholder="Please Select...">RTL</mbsc-date>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

Date & Time - Calendar systems

Change demo
Calendar systems

The event calendar supports multiple calendar systems. You can control it with the calendarSystem setting, and it supports the following options:

  • Gregorian - it is included by default
  • Jalali - it is the default system of the Persian calendar and is inlcuded within the Farsi language pack
  • Hijri - it is included in the Arabic language pack
Interested in localization?  Explore this example →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})

export class AppComponent {
    gregorian: Date;
    jalali: Date;
    hijri: Date;

    gregorianSettings: MbscDatetimeOptions = {
        calendarSystem: 'gregorian'
    };

    jalaliSettings: MbscDatetimeOptions = {
        calendarSystem: 'jalali',
        lang: 'fa'
    };

    hijriSettings: MbscDatetimeOptions = {
        calendarSystem: 'hijri',
        lang: 'ar'
    };
}
<mbsc-form input-style="box">
    <div class="mbsc-grid mbsc-form-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-4">
                <mbsc-date [(ngModel)]="gregorian" [options]="gregorianSettings" placeholder="Please Select...">Gregorian</mbsc-date>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4">
                <mbsc-date [(ngModel)]="jalali" [options]="jalaliSettings" placeholder="Please Select...">Jalali</mbsc-date>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4">
                <mbsc-date [(ngModel)]="hijri" [options]="hijriSettings" placeholder="Please Select...">Hijri</mbsc-date>
            </div>
        </div>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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 →
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})

export class AppComponent {
    englishSettings: MbscDatetimeOptions = {
        lang: 'en'
    };

    arabicSettings: MbscDatetimeOptions = {
        lang: 'ar'
    };

    bulgarianSettings: MbscDatetimeOptions = {
        lang: 'bg'
    };

    catalaSettings: MbscDatetimeOptions = {
        lang: 'ca'
    };

    cestinaSettings: MbscDatetimeOptions = {
        lang: 'cs'
    };

    chineseSettings: MbscDatetimeOptions = {
        lang: 'zh'
    };

    croatianSettings: MbscDatetimeOptions = {
        lang: 'hr'
    };

    danskSettings: MbscDatetimeOptions = {
        lang: 'da'
    };

    deutschSettings: MbscDatetimeOptions = {
        lang: 'de'
    };

    englishUkSettings: MbscDatetimeOptions = {
        lang: 'en-UK'
    };

    espanolSettings: MbscDatetimeOptions = {
        lang: 'es'
    };

    francaisSettings: MbscDatetimeOptions = {
        lang: 'fr'
    };

    greekSettings: MbscDatetimeOptions = {
        lang: 'el'
    };

    hindiSettings: MbscDatetimeOptions = {
        lang: 'hi'
    };

    italianoSettings: MbscDatetimeOptions = {
        lang: 'it'
    };

    japaneseSettings: MbscDatetimeOptions = {
        lang: 'ja'
    };

    koreanSettings: MbscDatetimeOptions = {
        lang: 'ko'
    };

    lietuviuSettings: MbscDatetimeOptions = {
        lang: 'lt'
    };

    magyarSettings: MbscDatetimeOptions = {
        lang: 'hu'
    };

    nederlandsSettings: MbscDatetimeOptions = {
        lang: 'nl'
    };

    norskSettings: MbscDatetimeOptions = {
        lang: 'no'
    };

    polskiSettings: MbscDatetimeOptions = {
        lang: 'pl'
    };

    portuguesSettings: MbscDatetimeOptions = {
        lang: 'pt-PT'
    };

    brasileiroSettings: MbscDatetimeOptions = {
        lang: 'pt-BR'
    };

    romanaSettings: MbscDatetimeOptions = {
        lang: 'ro'
    };

    serbianSettings: MbscDatetimeOptions = {
        lang: 'sr'
    };

    slovencinaSettings: MbscDatetimeOptions = {
        lang: 'sk'
    };

    suomiSettings: MbscDatetimeOptions = {
        lang: 'fi'
    };

    svenskaSettings: MbscDatetimeOptions = {
        lang: 'sv'
    };

    thaiSettings: MbscDatetimeOptions = {
        lang: 'th'
    };

    turkceSettings: MbscDatetimeOptions = {
        lang: 'tr'
    };

    ukrainianSettings: MbscDatetimeOptions = {
        lang: 'ua'
    };

    vietnameseSettings: MbscDatetimeOptions = {
        lang: 'vi'
    };

    russianSettings: MbscDatetimeOptions = {
        lang: 'ru'
    };

    russianUaSettings: MbscDatetimeOptions = {
        lang: 'ru-UA'
    };

    hebrewSettings: MbscDatetimeOptions = {
        lang: 'he'
    };

    farsiSettings: MbscDatetimeOptions = {
        lang: 'fa'
    };
}
<mbsc-form input-style="box" class="md-localization">
    <div class="mbsc-grid mbsc-form-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="english" [options]="englishSettings" placeholder="Please Select...">
                    <span class="flag flag-en"></span> English
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="arabic" [options]="arabicSettings" placeholder="Please Select...">
                    <span class="flag flag-ar"></span> Arabic
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="bulgarian" [options]="bulgarianSettings" placeholder="Please Select...">
                    <span class="flag flag-bg"></span> Bulgarian
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="catala" [options]="catalaSettings" placeholder="Please Select...">
                    <span class="flag flag-ca"></span> Català
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="cestina" [options]="cestinaSettings" placeholder="Please Select...">
                    <span class="flag flag-cs"></span> Cestina
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="chinese" [options]="chineseSettings" placeholder="Please Select...">
                    <span class="flag flag-zh"></span> Chinese
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="croatian" [options]="croatianSettings" placeholder="Please Select...">
                    <span class="flag flag-hr"></span> Croatian
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="dansk" [options]="danskSettings" placeholder="Please Select...">
                    <span class="flag flag-da"></span> Dansk
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="deutsch" [options]="deutschSettings" placeholder="Please Select...">
                    <span class="flag flag-de"></span> Deutsch
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="englishUk" [options]="englishUkSettings" placeholder="Please Select...">
                    <span class="flag flag-en-UK"></span> English (UK)
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="espanol" [options]="espanolSettings" placeholder="Please Select...">
                    <span class="flag flag-es"></span> Español
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="francais" [options]="francaisSettings" placeholder="Please Select...">
                    <span class="flag flag-fr"></span> Français
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="greek" [options]="greekSettings" placeholder="Please Select...">
                    <span class="flag flag-gr"></span> Greek
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="hindi" [options]="hindiSettings" placeholder="Please Select...">
                    <span class="flag flag-in"></span> Hindi
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="italiano" [options]="italianoSettings" placeholder="Please Select...">
                    <span class="flag flag-it"></span> Italiano
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="japanese" [options]="japaneseSettings" placeholder="Please Select...">
                    <span class="flag flag-ja"></span> Japanese
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="korean" [options]="koreanSettings" placeholder="Please Select...">
                    <span class="flag flag-kr"></span> Korean
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="lietuviu" [options]="lietuviuSettings" placeholder="Please Select...">
                    <span class="flag flag-lt"></span> Lietuvių
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="magyar" [options]="magyarSettings" placeholder="Please Select...">
                    <span class="flag flag-hu"></span> Magyar
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="nederlands" [options]="nederlandsSettings" placeholder="Please Select...">
                    <span class="flag flag-nl"></span> Nederlands
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="norsk" [options]="norskSettings" placeholder="Please Select...">
                    <span class="flag flag-no"></span> Norsk
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="polski" [options]="polskiSettings" placeholder="Please Select...">
                    <span class="flag flag-pl"></span> Polski
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="portugues" [options]="portuguesSettings" placeholder="Please Select...">
                    <span class="flag flag-pt-PT"></span> Português Europeu
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="brasileiro" [options]="brasileiroSettings" placeholder="Please Select...">
                    <span class="flag flag-pt-BR"></span> Pt. Brasileiro
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="romana" [options]="romanaSettings" placeholder="Please Select...">
                    <span class="flag flag-ro"></span> Româna
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="serbian" [options]="serbianSettings" placeholder="Please Select...">
                    <span class="flag flag-sr"></span> Serbian
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="slovencina" [options]="slovencinaSettings" placeholder="Please Select...">
                    <span class="flag flag-sk"></span> Slovencina
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="suomi" [options]="suomiSettings" placeholder="Please Select...">
                    <span class="flag flag-fi"></span> Suomi
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="svenska" [options]="svenskaSettings" placeholder="Please Select...">
                    <span class="flag flag-sv"></span> Svenska
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="thai" [options]="thaiSettings" placeholder="Please Select...">
                    <span class="flag flag-th"></span> Thai
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="turkce" [options]="turkceSettings" placeholder="Please Select...">
                    <span class="flag flag-tr"></span> Türkçe
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="ukrainian" [options]="ukrainianSettings" placeholder="Please Select...">
                    <span class="flag flag-ua"></span> Ukrainian
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="vietnamese" [options]="vietnameseSettings" placeholder="Please Select...">
                    <span class="flag flag-vi"></span> Vietnamese
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="russian" [options]="russianSettings" placeholder="Please Select...">
                    <span class="flag flag-ru"></span> Русский
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="russianUa" [options]="russianUaSettings" placeholder="Please Select...">
                    <span class="flag flag-ru-UA"></span> Русский (UA)
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="hebrew" [options]="hebrewSettings" placeholder="Please Select...">
                    <span class="flag flag-he"></span> עברית
                </mbsc-datetime>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                <mbsc-datetime [(ngModel)]="farsi" [options]="farsiSettings" placeholder="Please Select...">
                    <span class="flag flag-fa"></span> فارسی
                </mbsc-datetime>
            </div>
        </div>
    </div>
</mbsc-form>
.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%;
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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: 
import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    date: Date;
    dateSettings: MbscDatetimeOptions = {
        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
        }
    };
}
<mbsc-form>
    <mbsc-form-group>
        <mbsc-input input-style="box" label-style="stacked" [(ngModel)]="date" mbsc-date [mbsc-options]="dateSettings" #mbscDate="mobiscroll" placeholder="Please select...">Date picker</mbsc-input>
        <div class="mbsc-btn-group">
            <button (click)="mbscDate.instance.clear()">Clear</button>
            <button (click)="mbscDate.instance.show()">Show</button>
        </div>
    </mbsc-form-group>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

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.

import { Component } from '@angular/core';
import { mobiscroll, MbscDatetimeOptions } from '@mobiscroll/angular';

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

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html'
})
export class AppComponent {
    iosDemo: Date;
    iosDarkDemo: Date;
    iosCustomDemo: Date;
    materialDemo: Date;
    materialDarkDemo: Date;
    materialCustomDemo: Date;
    windowsDemo: Date;
    windowsDarkDemo: Date;
    windowsCustomDemo: Date;
    mobiscrollDemo: Date;
    mobiscrollDarkDemo: Date;
    mobiscrollCustomDemo: Date;

    iosSettings: MbscDatetimeOptions = {
        theme: 'ios',
        display: 'bubble',
        touchUi: false
    };
    iosDarkSettings: MbscDatetimeOptions = {
        theme: 'ios-dark',
        display: 'bubble',
        touchUi: false
    };
    iosCustomSettings: MbscDatetimeOptions = {
        theme: 'ios-gray',
        display: 'bubble',
        touchUi: false
    };
    materialSettings: MbscDatetimeOptions = {
        theme: 'material',
        display: 'bubble',
        touchUi: false
    };
    materialDarkSettings: MbscDatetimeOptions = {
        theme: 'material-dark',
        display: 'bubble',
        touchUi: false
    };
    materialCustomSettings: MbscDatetimeOptions = {
        theme: 'material-indigo',
        display: 'bubble',
        touchUi: false
    };
    windowsSettings: MbscDatetimeOptions = {
        theme: 'windows',
        display: 'bubble',
        touchUi: false
    };
    windowsDarkSettings: MbscDatetimeOptions = {
        theme: 'windows-dark',
        display: 'bubble',
        touchUi: false
    };
    windowsCustomSettings: MbscDatetimeOptions = {
        theme: 'windows-yellow',
        display: 'bubble',
        touchUi: false
    };
    mobiscrollSettings: MbscDatetimeOptions = {
        theme: 'mobiscroll',
        display: 'bubble',
        touchUi: false
    };
    mobiscrollDarkSettings: MbscDatetimeOptions = {
        theme: 'mobiscroll-dark',
        display: 'bubble',
        touchUi: false
    };
    mobiscrollCustomSettings: MbscDatetimeOptions = {
        theme: 'mobiscroll-lime',
        display: 'bubble',
        touchUi: false
    };
}
<mbsc-form>
    <div class="mbsc-grid mbsc-grid-fixed">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>iOS Theme</mbsc-form-group-title>
                    <label>
                        Light
                        <input [(ngModel)]="iosDemo" mbsc-date [mbsc-options]="iosSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Dark
                        <input [(ngModel)]="iosDarkDemo" mbsc-date [mbsc-options]="iosDarkSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Custom
                        <input [(ngModel)]="iosCustomDemo" mbsc-date [mbsc-options]="iosCustomSettings" placeholder="Please Select..." />
                    </label>
                </mbsc-form-group>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>Material Theme</mbsc-form-group-title>
                    <label>
                        Light
                        <input [(ngModel)]="materialDemo" mbsc-date [mbsc-options]="materialSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Dark
                        <input [(ngModel)]="materialDarkDemo" mbsc-date [mbsc-options]="materialDarkSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Custom
                        <input [(ngModel)]="materialCustomDemo" mbsc-date [mbsc-options]="materialCustomSettings" placeholder="Please Select..." />
                    </label>
                </mbsc-form-group>
            </div>
        </div>
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>Windows Theme</mbsc-form-group-title>
                    <label>
                        Light
                        <input [(ngModel)]="windowsDemo" mbsc-date [mbsc-options]="windowsSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Dark
                        <input [(ngModel)]="windowsDarkDemo" mbsc-date [mbsc-options]="windowsDarkSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Custom
                        <input [(ngModel)]="windowsCustomDemo" mbsc-date [mbsc-options]="windowsCustomSettings" placeholder="Please Select..." />
                    </label>
                </mbsc-form-group>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <mbsc-form-group inset>
                    <mbsc-form-group-title>Mobiscroll Theme</mbsc-form-group-title>
                    <label>
                        Light
                        <input [(ngModel)]="mobiscrollDemo" mbsc-date [mbsc-options]="mobiscrollSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Dark
                        <input [(ngModel)]="mobiscrollDarkDemo" mbsc-date [mbsc-options]="mobiscrollDarkSettings" placeholder="Please Select..." />
                    </label>
                    <label>
                        Custom
                        <input [(ngModel)]="mobiscrollCustomDemo" mbsc-date [mbsc-options]="mobiscrollCustomSettings" placeholder="Please Select..." />
                    </label>
                </mbsc-form-group>
            </div>
        </div>
    </div>
</mbsc-form>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MbscModule } from '@mobiscroll/angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MbscModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for Angular & Ionic $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7/8 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for Angular $595


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

Framework license


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

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

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

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

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

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

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

Do you need additional support seats?

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

Copy TS
Copy HTML
Copy CSS
Copy Module

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

Copy command
$ ionic serve

And voilà, everything should be running smoothly.

Customize & try demos locally
How would you like to do it?
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

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

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

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

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

Copy TS
Copy HTML
Copy CSS
Copy Module

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

Copy command
$ ng serve

And voilà, everything should be running smoothly.

Thanks for downloading
Try and customize the app locally

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

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

Let us know if we can help and enjoy!

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

You are setting a password for the account

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

Your password has been changed!

Thanks for downloading
Customize demos locally

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

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

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


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

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

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

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

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

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

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

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

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

Thanks for downloading
Customize demos locally

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

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

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


Let us know if we can help and enjoy! 👍

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 27
Cards 14
Collapsible 3
Color 10
Date & Time 20
Event Calendar 25
Forms 6
Grid layout 7
Image 7
Inputs & fields 6
Listview 18
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 19
Scroller 7
Scrollview 5
Select 18
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Bootstrap
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos