# ASP.NET Core Citation

In applications powered by Retrieval-Augmented Generation (RAG), such as legal research, medical information, or financial analysis, users must be able to trace every AI claim to a real source.

The [Citation component](https://www.telerik.com/aspnet-core-ui/documentation/api/citation) places an inline reference chip directly within AI-generated text. Clicking or hovering the chip opens a popover with complete details for each cited resource, giving readers evidence without leaving the page.

## Configuration

Place the Citation component directly after the claim it supports so the relationship between the statement and its evidence is immediately clear. Provide an array of `CitationSource` objects to the [`Sources`](https://www.telerik.com/aspnet-core-ui/documentation/api/citation/sources) property to populate the popover with source titles, URLs, and optional descriptions.

Use the [`SvgIcon`](https://www.telerik.com/aspnet-core-ui/documentation/api/citation/svgicon) and [`SourceSVGIcon`](https://www.telerik.com/aspnet-core-ui/documentation/api/citation/sourcesvgicon) properties to customize the chip and popover icons. Set [`DisplayMode`](https://www.telerik.com/aspnet-core-ui/documentation/api/citation/displaymode) to control whether the popover opens on hover or click.

Add [`Description`](https://www.telerik.com/aspnet-core-ui/documentation/api/citation/sources) to each source so users have enough context to decide whether to open the link. Replace the default globe icon with a domain-specific icon, such as a document for internal wikis or a database for data sources, to help users identify the source type before hovering.

```Razor HtmlHelper
    @(Html.Kendo().Citation()
        .Name("citation")
        .Sources(sources =>
        {
            sources.Add().Title("Quarterly Revenue Report").Url("https://example.com/reports/q1-2025").Description("Summary of enterprise revenue by quarter.");
        })
    )
```

```Razor TagHelper
    <kendo-citation name="citation">
        <sources>
            <source title="Quarterly Revenue Report"
                url="https://example.com/reports/q1-2025"
                description="Summary of enterprise revenue by quarter.">
            </source>
        </sources>
    </kendo-citation>
```

## See Also

* [Citation Demo for ASP.NET Core](https://demos.telerik.com/aspnet-core/llm_kit/citation)

* [LLM Kit Overview](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/conversational-ui/llm-kit/overview)

* [Server-Side API of the Citation HtmlHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/citation)

* [Server-Side API of the Citation TagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/taghelpers/citation)

* [JavaScript API Reference of the Citation](https://www.telerik.com/aspnet-core-ui/documentation/api/ui/citation)
