A modern ecommerce product page built with React, TypeScript, Tailwind CSS, and Vite.
- Product image gallery with modal/lightbox
- Add to cart functionality
- Custom cart context and hook
- Responsive design (mobile & desktop)
- Custom colors and fonts via Tailwind config
- React
- TypeScript
- Tailwind CSS
- Vite
- Shadcn
- Framer Motion
- Install dependencies:
pnpm install- Run the development server:
pnpm run dev- Build for production:
pnpm run buildsrc/
components/
product/
productCard.tsx
ui/
button.tsx
...
navbar/
navbar.tsx
context/
cartcontext.tsx
hooks/
useCart.ts
assets/
images/
...
design/
...
App.tsx
main.tsx
index.css
public/
vite.svg
- Colors & Fonts:
Edittailwind.config.tsto change theme colors and fonts.
MIT