New to Telerik UI for Blazor? Download Free 30-day trial

LLM Kit - Inline Citation

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

some-link.com +2

  • Inline-citation.razor
Loading the demo source code...please wait.
Style in ThemeBuilder
  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

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.

This Blazor LLM Kit Inline Citation example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.