Show record details in a card with the HTML component

This article will explain how to display record detail information in a nice card using the HTML component.

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

This article will explain how to display record detail information in a nice card using the HTML component.

First, we'll add an HTML component to a details page.

Screenshot for “Display record information in a card”

Next, we'll select the field we want to display in the card component as shown in the image below.

Screenshot for “Display record information in a card”

Now in the following HTML code replace "{Job Name}" with your Field Variable.

html
<div class="af-card-component shadow-1x">
    <div class="card-inner">
        <div class="header ng-hide">Header</div>
        <div class="con">{Job Name}</div>
        <div class="footer ng-hide">Footer</div>
    </div>
</div>
Screenshot for “Display record information in a card”

If you'd like to use the Header and Footer options as well feel free to remove the "ng-hide" class from the code

Screenshot for “Display record information in a card”

Was this page helpful?

Something wrong or missing on this page? Tell us.