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:
| Parameter | Type | Description |
|---|---|---|
ButtonText | string | The text rendered within the toolbar button associated with the view. |
ButtonIcon | object | The Telerik Font or SVG icon rendered within the toolbar button associated with the view. |
ViewTemplate | RenderFragment | The template controlling the rendering of the view's content. Read more in the Templates article. |
FooterTemplate | RenderFragment | The 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:
Loading ...
Using the
ButtonTextandButtonIconparameters to customize the appearance of the toolbar buttons
Loading ...