# Marking the FloatingLabel as Optional

You can indicate that a form field is optional by setting the [`optional`](https://www.telerik.com/kendo-react-ui/components/labels/api/floatinglabelprops#optional) property of the FloatingLabel. When set to `true`, the FloatingLabel automatically renders an additional *(Optional)* text within its contents.

The following example demonstrates the optional FloatingLabel in action.

[Demo Source](https://demos.telerik.com/kendo-react-ui/labels/floatinglabel/optional/func/source.txt)

You can customize the default optional content through custom messages the same way you can provide localization of the messages. You can set custom optional message by providing a value for the `labels.optional` message key in the messages object provided to the `loadMessages` function from the internalization package and wrapping the component in a `Localization.Provider`. For further information and an example refer to [Labels Globalization article](https://www.telerik.com/kendo-react-ui/components/labels/globalization).

## Suggested Links

* [Learn about KendoReact Free.](https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium)

* [Globalization](https://www.telerik.com/kendo-react-ui/components/labels/globalization)

* [API Reference of the FloatingLabel Component](https://www.telerik.com/kendo-react-ui/components/labels/api/floatinglabelprops)
