Use the Blazor Card component to beautifully display the articles in your blog, the menu in a restaurant app or the destinations in a travel agency’s site.
This component is part of the largest truly native Blazor component suite - Telerik UI for Blazor designed to perfectly fit in any app’s requirement.
The Blazor UI suite also comes with professionally designed themes enabled with a flip of a switch, document processing library, rich docs & demos to help you get started in no time.
Cards are an extremely popular element of modern UI systems. Their flexibility as content containers is what makes them so attractive in web apps. Beautifully display the articles in your blog, the menu in a restaurant app or the destinations in a travel agency’s site with the Telerik UI for Blazor Card component.
The layout of a Card component consists of multiple building blocks, including placeholders for header, image, body, footer, and a list of actions. You can choose the blocks you need to create the perfect layout for your use case. The cards can be organized in different containers—like a list or deck—to change the direction in which cards are laid out.
The Card’s orientation can be easily switched by changing the Orientation attribute. Cards default to Vertical and display the image beneath the body. When in horizontal, the image is displayed to the left of the body.
If you store your cards’ data in an enumerable container, you can render all cards corresponding to that data by doing a @foreach in your Razor code.
The Card component can also contain an expandable header. This flexibility allows you to display multiple cards at the same time. Another element you can control are the actions on the bottom of the component, which can be configured in relation to the cards.
Themes can be used with the Card component to quickly produce frequently used effects like error or info messages, or when you want to color-code your cards for a specific purpose.