Skip to content

TimePicker

import { TimePicker } from "material.slint";
export component Example inherits Window {
width: 400px;
height: 300px;
background: transparent;
TimePicker {
time: {
hour: 14,
minute: 30,
};
}
}
slint

A TimePicker allows users to select a time using a clock interface or text input.

struct Time default: a struct with all default values

Set the initial displayed time.

TimePicker {
time: { hour: 12, minute: 24 };
}
slint

© 2025 SixtyFPS GmbH