# AIPrompt Templates

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

> tip The AIPrompt component also implements [View templates](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/views/templates) that control the rendering of the Prompt, Output, and Commands 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.

> note By default, clicking on a suggestion will populate the prompt's input with the suggestion's value and also trigger a `PromptChanged` event. If you use the `PromptSuggestionItemTemplate`, you should also handle [any event](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/events) you deem necessary (such as `onclick`).

> caption Using the `PromptSuggestionItemTemplate` to alter the appearance of the suggestions

<demo metaUrl="client/aiprompt/templates/promptsuggestionitemtemplate-1/" height="470"></demo>

## See Also

* [Views Templates](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/views/templates)
