Card
Cards are used to group similar concepts and tasks to make it easier for users to scan, read, and get things done.
Version 0.2.5
Installation
To install @igloo-ui/card
in your project, you will need to run the following command using npm:
npm install @igloo-ui/card
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/card
Usage
Then to use the component in your code just import it!
import Card from '@igloo-ui/card';
<Card>Card content</Card>;
API
Prop | Type | Default | Description |
---|---|---|---|
children | ReactNode | - | The content to display inside the card |
size | Size | Changes the size of card, giving more or less padding | |
dataTest | string | - | Add a data-test tag for automated tests |