# Placeholders

The TimePicker enables you to [render a text hint](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker/placeholders#text-hints) for its input field and to [provide descriptions for the format sections](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker/placeholders#format-sections-description).

## Text Hints

When the value of the TimePicker is `null`, or there is no partial selection, you can specify a text hint for the input field by setting the [`placeholder`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/timepickerprops#placeholder) option of the component.

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/timepicker/placeholder/hint/func/source.txt)

## Floating Labels

You can specify a floating label for the input field by setting the [`label`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/dateinputprops#label) property of the `DateInput`. Also, to disable the default date mask of the TimePicker when no value is present, set its [`placeholder`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/timepickerprops#placeholder) value to an empty string.

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/timepicker/placeholder/floating-label/func/source.txt)

## Format Sections Description

The [`formatPlaceholder`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/timepickerprops#formatplaceholder) option enables you to set the way the format sections of the input field are rendered. For example, whether the month input is prompted as `month` or `MM`.

The `formatPlaceholder` provides the following available options which you can set:

* `'wide'`—Displays the full description of the format section. For example, turns `MM` into `month`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'narrow'`—Displays the narrow description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'short'`—Displays the short description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'formatPattern'`—Directly displays the format section. For example, turns `MM` into `MM`.
* [`CustomFormatPlaceholder`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/dateinputcustomformatplaceholder)—An object that defines the description of the format sections. For example, `{ day: 'd.', month: 'M.', year: 'y', hour: 'h.' }`.

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/timepicker/placeholder/format/func/source.txt)

## Suggested Links

* [React Time Picker](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker)
* [API Reference of the TimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/timepicker)
* [React Date Inputs](https://www.telerik.com/kendo-react-ui/components/dateinputs)
