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

AIPrompt Templates

Updated on Oct 1, 2026

The AIPrompt component provides the PromptSuggestionItemTemplate that allows you to change the appearance of the prompt suggestions made by the component.

The AIPrompt component also implements View templates that control the rendering of the Prompt, Output, and Command views.

The Prompt view of the AIPrompt renders any suggestions passed to the PromptSuggestions parameter in the form of elevated bubbles within a collapsible section. The PromptSuggestionItemTemplate allows you to control the rendering of individual suggestions.

By default, clicking on a suggestion will populate the prompt's input with the suggestion's value and also trigger a PromptTextChanged event. If you use the PromptSuggestionItemTemplate, you should also handle any event you deem necessary (such as onclick).

Using the PromptSuggestionItemTemplate to alter the appearance of the suggestions

Example
View Source
Loading ...

See Also

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