A production-ready Next.js 14 application for SwiftPe, a mobile-first fintech bridge interface that converts USDC to INR with gasless transactions.
- Mobile-First Design: Optimized for mobile devices with responsive design
- Smooth Animations: Framer Motion animations for seamless user experience
- Modern UI Components: Built with Radix UI primitives and Tailwind CSS
- TypeScript: Full type safety throughout the application
- Static Export: Configured for static site generation
- Production Ready: ESLint, proper error handling, and optimized build
- Framework: Next.js 14 with App Router
- Styling: Tailwind CSS with custom design system
- UI Components: Radix UI primitives
- Animations: Framer Motion
- Icons: Lucide React
- TypeScript: Full type coverage
- Build: Static export ready
- Node.js 18+
- npm, yarn, or pnpm
- Clone the repository
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Open http://localhost:3000 in your browser
npm run dev
npm run build
npm run export
The static files will be generated in the out
directory.
βββ pages/ # Next.js pages
β βββ _app.tsx # App wrapper
β βββ _document.tsx # Document structure
β βββ index.tsx # Main application
βββ src/
β βββ components/ # React components
β β βββ screens/ # Screen components
β β βββ ui/ # UI components (Radix-based)
β β βββ Navigation.tsx
β βββ styles/ # Global styles
βββ public/ # Static assets
βββ ...config files
- Quote Screen: Real-time USDC to INR conversion rates
- KYC Screen: Multi-step verification process
- Payment Screen: Wallet connection and payment processing
- Bridge Screen: Live transaction tracking
- Payout Screen: Transaction completion and receipt
- Fully accessible components built on Radix UI
- Consistent design system with Tailwind CSS
- Dark mode support ready
- Mobile-optimized interactions
- Modify
src/styles/globals.css
for global styles - Update
tailwind.config.js
for design system changes - Component styles use Tailwind utility classes
- All UI components are in
src/components/ui/
- Screen components are in
src/components/screens/
- Easy to extend and customize
- Static site generation for optimal loading
- Optimized bundle size
- Lazy loading where appropriate
- Mobile-first responsive design
- Modern browsers (Chrome, Firefox, Safari, Edge)
- Mobile browsers (iOS Safari, Chrome Mobile)
- Progressive enhancement approach
This project is for demonstration purposes.