Use Template component to render content inside of slots
<!-- templates/dashboard.hbs -->
<CardPanel>
<Template @slot="header">
This content will land in header slot
</Template>
<Template @slot="footer">
Created with love ♥
</Template>
<p>Here is a card body content</p>
</CardPanel>