Cards

This section previews the Cards component.

I have implemented the cards component into markdown which is ready to use.

Example

Click on me

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

Horizontal Card

This is a horizontal card layout.

Card Simple

Simple Card

This is a simple card without an icon or link.

Props

PropTypeDefaultDescription
titlestring""The value of card title.
iconstringnullThe value of card icon render from lucide.
hrefstringnullThe value of card link url.
horizontalboolean""horizontal layout for card.

Code

Published on Feb 20, 2025