Sk.Card
Block container with optional padding and composable children.
Live preview
<Sk.Card> with children
<Sk.Card width={280} height={120} />
Usage
<Sk.Card>
<Sk.Heading />
<Sk.Text lines={2} />
</Sk.Card>
<Sk.Card width={320} height={200} />Props
| Prop | Type | Default |
|---|---|---|
width | string | number | '100%' |
height | string | number | — |
padding | number | 16 |
children | ReactNode | — |
className | string | — |