A modern, animated card stack component built with React, TypeScript, and Framer Motion. Features smooth animations, linear progression, and responsive design.
- Sequential Navigation: Navigate through cards like a normal webpage - from first to last
- Smooth Animations: Cards slide to the right with realistic physics-based animations
- Multiple Input Methods: Scroll, keyboard arrows, or drag to navigate
- Progress Tracking: Visual indicator showing current position and card title
- Responsive Design: Positioned on the left side with proper spacing
- Customizable: Easily modify card content, dimensions, and styling
The stack displays cards in linear order:
- Welcome Page (starting position)
- About Page
- Services Page
- Contact Page (end position)
- React - UI framework
- TypeScript - Type safety
- Framer Motion - Smooth animations
- Tailwind CSS - Styling
- Vite - Build tool
- shadcn/ui - UI components
- Node.js (version 18 or higher)
- npm or yarn
- Clone the repository:
git clone <your-repository-url>
cd interactive-card-stack- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:8080
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint