lightning-card lwith header and footer code example
Example: salesforce lightning card
<lightning:card footer="Card Footer" title="Hello">
<aura:set attribute="actions">
<lightning:button label="New"/>
</aura:set>
<p class="slds-p-horizontal_small">
Card Body (custom component)
</p>
</lightning:card>