# PromptBox Input Modes

The Blazor PromptBox component supports three distinct input modes that adapt to different user scenarios and content requirements. Each mode provides a specific behavior for text input and adornment positioning.

You can control the input mode through the `Mode` parameter using the `PromptBoxMode` enumeration.

## Mode Types

The PromptBox supports the following input modes:

* Auto Mode (Default): Starts as a single-line input and automatically expands into a multi-line textarea when the content overflows.

* SingleLine Mode: A fixed single-line input with horizontal scrolling. The height remains constant regardless of content length.

* MultiLine Mode: A traditional textarea that grows vertically and supports scrolling. Best suited for longer content entered across multiple lines from the start.

## Example

> caption Comprehensive mode comparison

<demo metaUrl="client/promptbox/modes/example-1/" height="620"></demo>

## See Also

* [PromptBox Overview](https://www.telerik.com/blazor-ui/documentation/components/promptbox/overview)
* [PromptBox Adornments](https://www.telerik.com/blazor-ui/documentation/components/promptbox/adornments)
* [PromptBox Events](https://www.telerik.com/blazor-ui/documentation/components/promptbox/events)
