--- title: Cards description: This section previews the Cards component. date: 20-02-2025 --- I have implemented the `cards` component into markdown which is ready to use. ## Example ### Card with Link and icon This is how you use a card with an icon and a link. Clicking on this card brings you to the Card Group page. ### Card Horizontal This is a horizontal card layout. ### Card Simple This is a simple card without an icon or link. ## Props | Prop | Type | Default | Description | | ------------- | -------- | ------- | ------------------------------------------------------- | | `title` | `string` | `""` | The value of card title. | | `icon` | `string` | `null` | The value of card icon render from lucide. | | `href` | `string` | `null` | The value of card link url. | | `horizontal` | `boolean` | `""` | horizontal layout for card. | ## Code Card with Link & Icon Card Horizontal Card Simple ```markdown This is how you use a card with an icon and a link. Clicking on this card brings you to the Card Group page. ``` ```markdown This is a horizontal card layout. ``` ```markdown This is a simple card without an icon or link. ```