Angular Time Picker | Customized Material Design | Syncfusion

Overview

The Angular Time Picker, also known as the Angular Material Time Picker is a lightweight and mobile-friendly component that allows end users to select a time value either from a pop-up time list or by entering the value directly in the text box.


Angular TimePicker Code Example

Easily get started with the Angular TimePicker using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular TimePicker Example that shows you how to render and configure a TimePicker in Angular.

<div class="control-section sample">
    <div class="control_wrapper">
        <div class="tabs-wrap">
            <div class="wrap">
                <ejs-timepicker id='timepicker'></ejs-timepicker>
            </div>
        </div>
    </div>
</div>
import { Component } from '@angular/core';
import { enableRipple } from '@syncfusion/ej2-base';

//enable ripple style
enableRipple(true);

@Component({
  selector: 'app-root',
  template: `<!-- To Render TimePicker -->
             <ejs-timepicker></ejs-timepicker>`
})
export class AppComponent  { }

Masked time input

Allows users to enter valid times in the correct format and avoid data input errors during data entry.

Angular TimePicker with masked time input.


Time formatting

The Angular Material TimePicker component has a default, culture-specific time format, but it can be custom formatted.


Disabled time

Disable any of the time values in a pop-up list to prevent the selection of those times.


Time range

Restrict the entry or selection of a time value within a specific range of time by using min and max properties.


Globalization

The TimePicker component in Angular supports globalization like internationalization and localization that updates the time format value in the pop-up list to match a specified culture.


Time interval

Increment or decrement each time value of the selection list by one step at a time. You can change the steps based on your needs.


UI customization

The appearance of the Angular TimePicker component can be customized completely based or your modern web and mobile applications.



HTML form validation

HTML form validation allows only a valid value to be entered in the Angular TimePicker component’s text box. Disabled ranges or out-of-range times are validated.


Set the scroll position to a custom time value if no value is selected.


Web accessibility

  • Fully supports WAI-ARIA accessibility that helps the timepicker component be accessed by on-screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Follows the WCAG 2.0 standard in the design of the UI element visuals such as foreground color, background color, line spacing, text, and images.
  • Supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew and Arabic.

Angular Material timepicker shows the popup at the center of the screen on mobile devices.

Mobile-friendly UI

The Angular Material Time Picker component’s responsive mode has an adaptive, redesigned UI appearance for mobile devices.


Developer-friendly APIs

End users receive the best experience thanks to the full UI component granted by developer-friendly APIs.

Built-in themes

The TimePicker component in Angular supports several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.


Angular version compatibility

With continuous improvement in Angular versions, the Angular Time Picker is kept up to date to make it compatible with the latest version.





Transform your applications today by downloading our free evaluation version

Syncfusion Angular TimePicker Resources