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


Every Blazor Card can have a dedicated area to render a card image that will fill the size of the card. The content of the CardImage as well as its size is completely customizable through the available configuration options.

Use the CardImage building block to insert an image in the Card. The result from the snippet below.

Image in Card

@* Insert an image in the Card *@

<TelerikCard Width="200px">
        <CardTitle>Bulgarian Mountains</CardTitle>
        <CardSubTitle>Bulgaria, Europe</CardSubTitle>

    <CardImage Src=""></CardImage>

    <CardActions Layout="CardActionsLayout.Stretch">
        <TelerikButton Class="k-flat" Icon="@SvgIcon.HeartOutline" Title="Like"></TelerikButton>
        <TelerikButton Class="k-flat" Icon="@SvgIcon.Comment" Title="Comment"></TelerikButton>
        <TelerikButton Class="k-flat" Icon="@SvgIcon.Share" Title="Share"></TelerikButton>


The CardImage provides the following features:

  • Class - string - the CSS class that will be rendered on the main wrapping container of the image.

  • Src - string - defines the source of the image.

  • Width - string - defines width of the image.

  • Height - string - defines the height of the image.

See Also

In this article