# Adornments

You can enhance the visual and functional aspects of the AutoComplete component by using custom adornments in the form of prefixes and suffixes. Decorating the component allows you to make it more user-friendly and engaging.

## Prefix Adornments

The AutoComplete allows you to add custom items as prefix adornments by using the [`KendoPrefixTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/prefixtemplatedirective) directive.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/adornments/prefix/source.txt)

## Suffix Adornments

The AutoComplete allows you to add custom items as suffix adornments by using the [`KendoSuffixTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/suffixtemplatedirective) directive.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/adornments/suffix/source.txt)

## Separator

To visually separate the specified adornments, set the [`showSeparator`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/suffixtemplatedirective#showseparator) property of the `KendoPrefixTemplate` and `KendoSuffixTemplate` directives to `true`.
To separate multiple adornment items, you can add a [`Separator`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/separatorcomponent) component.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/adornments/separator/source.txt)

## Disabling Adornments

You can ensure the consistent appearance of the AutoComplete component by controlling the disabled state of the adornments inside the prefix and suffix containers.

The following example demonstrates how to set the `disabled` property of the adornments when you disable the AutoComplete.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/adornments/disabled/source.txt)

## Integration with FloatingLabel

To use the [`FloatingLabel`](https://www.telerik.com/kendo-angular-ui/components/labels/api/floatinglabelcomponent) component with a `KendoPrefixTemplate`, utilize its [`labelCssClass`](https://www.telerik.com/kendo-angular-ui/components/labels/api/floatinglabelcomponent#labelcssclass) or [`labelCssStyle`](https://www.telerik.com/kendo-angular-ui/components/labels/api/floatinglabelcomponent#labelcssstyle) properties.

The following example demonstrates how to offset the `FloatingLabel` when using adornments.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/adornments/floating-label/source.txt)

## Suggested Links

* [API Reference of the AutoCompleteTextBox](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/autocompletecomponent)
* [API Reference of the Prefix Template](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/prefixtemplatedirective)
* [API Reference of the Suffix Template](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/suffixtemplatedirective)
* [API Reference of the Separator](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/separatorcomponent)
