CardHeader
CardHeader is a sub-component that is used to define the placement of a child element within the Card component.
All docs for CardHeader will use the Card component as a parent. This is to ensure that the CardHeader is rendered correctly.
Basic Usage
Note: Ensure
paddingis removed when using theCardHeadercomponent.
import { Card, CardHeader } from '@krakentech/coral';
<Card padding="none" borderless>
<CardHeader>Lorem ipsum dolor.</CardHeader>
</Card>title
<Card padding="none" borderless>
<CardHeader title="Title" />
</Card>Title
extra
<Card padding="none" borderless>
<CardHeader extra="Extra" />
</Card>Extra
Full usage
<Card padding="none" borderless>
<CardHeader title="Title" extra="Extra" />
</Card>Title
Extra
Full API
Last updated on