Card

Flexible container for grouping related content with optional headers and footers.

Installation

Add the component to your project using the following command:

Usage

Import

Import the component and its related parts.

Card Parts

Structure

The expected structure and composition of the component.

Anatomy

Props

Each component part, its responsibility, and the props it exposes.

<Card>

This component extends the JSX div element.

<CardHeader>

This component extends the JSX header element.

Name
Default
Options
`align`
`default`
`default``center``right`

Examples

Description

You can add a description to the card by using the CardDescription component.

Action

You can add an action to the card by using the CardHeaderAction component.

Item

Here is an example of a card in conjunction with the Item component.

Login

Here is a login card example.