software development agencyTwo overlapping white elliptical loops on a black background, one solid and one dashed.

Cloud Strategy

New material timepicker component: setup, features and examples

MVP consulting firm UK

October 14, 2026

MVP consulting firm UK

6 min read

This article was originally published by Dzmitry Hutaryan on dev.to in December 2023 and is republished here with the author's permission.

I'd like to introduce a material timepicker component. If you use angular material you might know this popular issue. People are desperate for a time selection but not date only. I was one of them.

Unfortunately, a lot of existent libraries were out of date, had not the best UI or their functionality didn't suit for my project, had some bugs. I could choose from literally 2 libraries and none of them satisfied me completely.

Let's go

Before we start let me tell you a few words. The timepicker is based on material design. You hardly recognise you're using a 3rd party library.

Install the library:

or

Unfortunately, all good names were busy 🫣

Import MatTimepickerModule and MatNativeDateTimeModule to your module.

‍


Default adapter uses native JS date. You can create your own adapter and use whatever you want.

Add necessary styles:

We've just set up our timepicker. It's time to use it:

Timepicker dial mode

You can use another presentation mode if you like it more:

Timepicker input mode

Looks like it's a part of angular material, isn't it?

You can find more usage examples on the documentation page.

Briefly about some features:

  • 12h/24h format
  • dial/input mode
  • popup/dialog view
  • min/max time
  • different color palletes
  • custom action buttons
  • minutes interval
  • touchUi mode

What's the next?

There are some things to implement. Some of them are related to the adapter. It would be nice to have ready to use adapter with moment and luxon. Make components as standalone and so on.

FAQ
software development agency
Rapid PoC for tech product UK

suBscribe

to our blog

Subscribe
MVP consulting firm UK
Thank you, we'll send you a new post soon!
Oops! Something went wrong while submitting the form.