New to Telerik UI for Blazor? Download Free 30-day trial
LLM Kit - Inline Citation
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
meridian
An inline citation component is an interactive UI element that embeds clickable reference badges, like source names or domain labels, directly into text. When users click these badges, the component displays full source details, such as titles, domains, URLs
- Inline-citation.razor
Description
The TelerikCitation component embeds a clickable or hoverable source chip directly within AI-generated text. When activated, it opens a popover that shows the title, description, and URL of each associated source — giving users transparent, verifiable attribution without interrupting the reading flow.
Bind a collection of source objects through the Data parameter and map the TitleField, DescriptionField, and UrlField to your model properties. Use ShowOn to choose between click and hover activation. A BodyTemplate lets you customize the popover content, and CitationSettings controls the popover width, position, and callout arrow.