# Adornments

You can enhance the visual and functional aspects of the TextArea 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 TextArea allows you to add custom items as prefix adornments by using the [`TextAreaPrefixComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareaprefixcomponent).

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

## Suffix Adornments

The TextArea allows you to add custom items suffix adornments by using the [`TextAreaSuffixComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareasuffixcomponent).

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

## Flow Direction

The TextArea provides the option for specifying the flow direction and adornment's orientation:

* By default, the flow is vertical. To change the direction, set the [`flow`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareacomponent#flow) option of the TextArea to `horizontal`.
* By default, the adornment's orientation is horizontal. To change the direction, set the [`adornmentsOrientation`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareacomponent#adornmentsorientation) option of the TextArea to `vertical`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/textarea/adornments/flow/source.txt)

## Separator

To visually separate the prefix and suffix, set the [`showPrefixSeparator`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareacomponent#showprefixseparator) and [`showSuffixSeparator`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareacomponent#showsuffixseparator) properties of the TextArea to `true`.
To separate multiple adornment items, you can add a [`Separator`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/separatorcomponent) component.

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

## Disabling Adornments

By default, the prefix and suffix adornments are part of the TextArea. When you set the [`disabled`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareacomponent#disabled) property to `true`, the TextArea applies disabled styling to the adornment elements. This styling sets [`pointer-events`](https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events) to `none` and adjusts the [`opacity`](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity) to match the disabled appearance. The adornments visually align with the disabled state of the TextArea, but still focusable through keyboard navigation.

> To override the default behavior and make the adornments interactive, check out the [Enabling Adornments in a Disabled Inputs Component](https://www.telerik.com/kendo-angular-ui-develop/components/knowledge-base/enabled-adornments-disabled-inputs) Knowledge Base article.

The following example demonstrates how to visually disable the TextArea adornments by setting the `disabled` property of the component.

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

### Programmatically Disabling Adornments

The [`TextAreaPrefixComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareaprefixcomponent) and [`TextAreaSuffixComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareasuffixcomponent) give you full control over the elements displayed as adornments. You can programmatically control the disabled state based on the specific element you are rendering.

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

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/textarea/adornments/disabled-items/programmatic-control/source.txt)

## Suggested Links

* [API Reference of the TextAreaComponent](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/textareacomponent)
* [API Reference of the InputSeparatorComponent](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/inputseparatorcomponent)
