Components
Cards
Slide In Card

Slide In Card

Beautifully designed Slide In Card with Tailwind CSS and Framer Motion. Copy, paste, and customize to enhance your web projects effortlessly.

Card Profile

Sunset at the Beach
City Lights
Mountain Vista

Installation

Run the following command:

npx gopx-webui add slide-in-card

Props

PropTypeRequiredDescription
itemSlideInItemYesAn object containing the details of the item to be displayed in the card.
isActivebooleanYesA boolean indicating whether the card is currently active (expanded).
onClick() => voidYesA function to be called when the card is clicked.

SlideInItem Interface

PropertyTypeRequiredDescription
namestringYesThe name or title of the item.
descstringYesA brief description of the item.
imgUrlstringYesThe URL of the image to be displayed.
datestringYesThe date associated with the item.
locstringYesThe location associated with the item.
shotOnstringYesInformation about the camera or device used for shot.