Time pickers
The v-time-picker is stand-alone component that can be utilized in many existing Vuetify components. It offers the user a visual representation for selecting the time.
Usage
Time pickers have the light theme enabled by default.
<v-time-picker></v-time-picker>API
| Component | Description |
|---|---|
| v-time-picker | Primary Component |
Examples
Props
Allowed times
You can specify allowed times using arrays, objects, and functions. You can also specify time step/precision/interval - e.g. 10 minutes.
Colors
Time picker colors can be set using the color prop.
Disabled
You can’t interact with disabled picker.
Elevation
Emphasize the v-time-picker component by providing an elevation from 0 to 5. Elevation modifies the box-shadow css property.
Format
A time picker can be switched to 24hr format. Note that the format prop defines only the way the picker is displayed, picker’s value (model) is always in 24hr format.
No header
You can remove picker’s header.
Range
This is an example of joining pickers together using min and max prop.
Plan your event:
Start:
End:
Read-only
Read-only picker behaves same as disabled one, but looks like default one.
Scrollable
You can edit time picker’s value using mouse wheel.
Use seconds
Time picker can have seconds input.