New to Telerik UI for Blazor? Start a free 30-day trial

AIPrompt Views

Updated on Oct 1, 2026

The AIPrompt component provides three predefined views and also lets you create custom views. Through interaction with the component, the user can change the currently active view.

The available built-in views are:

Parameters

The AIPrompt views provide various parameters that allow you to configure the component:

ParameterTypeDescription
ButtonTextstringThe text rendered within the toolbar button associated with the view.
ButtonIconobjectThe Telerik Font or SVG icon rendered within the toolbar button associated with the view.
ViewTemplateRenderFragmentThe template controlling the rendering of the view's content. Read more in the Templates article.
FooterTemplateRenderFragmentThe template controlling the rendering of the view's footer. Read more in the Templates article.

By default, the AIPrompt will always render both the Prompt and the Output view. The Commands view will be rendered only if you pass a custom set of commands through the Commands parameter:

Example
View Source
Loading ...

Using the ButtonText and ButtonIcon parameters to customize the appearance of the toolbar buttons

Example
View Source
Loading ...

See Also

In this article
ParametersSee Also
Not finding the help you need?
Contact Support