lightning-card buttons in footer and headder 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>