# ASP.NET Core PromptBox Overview

The Telerik UI for ASP.NET Core PromptBox component provides an input interface that enables users to interact with AI language models through a rich text input experience.

The PromptBox serves as a dedicated input area for composing and sending prompts to AI models. It offers flexible input sizing options to accommodate different prompt lengths and user preferences. The component supports file attachments and adornments, making it a versatile solution for building AI-powered conversational interfaces.

## Initializing the PromptBox

The following example demonstrates how to define a PromptBox.

```Razor HtmlHelper
    @(Html.Kendo().PromptBox()
        .Name("promptBox")
        .Placeholder("Enter your prompt...")
    )
```

```Razor TagHelper
    <kendo-promptbox name="promptBox" placeholder="Enter your prompt...">
    </kendo-promptbox>
```

## Functionality and Features

* [Modes](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/modes)—The PromptBox supports different interaction modes to suit various use cases and user preferences.
* [Appearance](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/appearance)—Customize the appearance of the built-in buttons with predefined options for size, border radius, fill modes, and theme colors.
* [Adornments](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/adornments)—Customize the PromptBox with icons, buttons, and other UI elements for enhanced functionality.
* [Tools](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/tools)—Utilize the available tools like Action Button, File Select Button, and Speech-to-Text Button.
* [Events](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/events)—Handle user interactions through events like prompt submission, attachment uploads, and content changes.
* [Keyboard Navigation](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/accessibility/keyboard-navigation)—Navigate and interact efficiently using keyboard shortcuts for message composition and actions.
* [Accessibility](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/promptbox/accessibility/overview)—Full accessibility support with WAI-ARIA attributes, ensuring WCAG 2.2 AA and Section 508 compliance.

## Next Steps

* [Basic Usage of the PromptBox for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/promptbox/index)
* [PromptBox Modes (Demo)](https://demos.telerik.com/aspnet-core/promptbox/modes)

## See Also

* [Server-Side API of the PromptBox HtmlHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/promptbox)

* [Server-Side API of the PromptBox TagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/taghelpers/promptbox)

* [JavaScript API Reference of the PromptBox](https://www.telerik.com/aspnet-core-ui/documentation/api/ui/promptbox)
