A modern web application that allows users to create beautiful, personalized digital gift cards. Built with React and TypeScript, this project provides an intuitive interface for customizing and generating gift cards with custom backgrounds and messages.
- Custom Background Images: Upload your own background images (PNG, JPG, or GIF)
- Personalized Messages: Add custom "Dear", message text, and "From" fields
- Smart Text Layout:
- Intelligent text splitting for optimal presentation
- Handles various message lengths automatically
- Maintains readability with white outline and semi-transparent text
- Real-time Preview: See your gift card updates in real-time
- Responsive Design: Works seamlessly across different screen sizes
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/far14c/gift-card-maker.git
cd gift-card-maker- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Open your browser and navigate to
http://localhost:5173
- Upload Background: Click the "Upload Background" section to add your custom background image
- Personalize Message:
- Enter recipient's name in the "Dear" field
- Add your message in the message field
- Add your name in the "From" field
- Preview: See your changes reflected instantly in the preview section
- Download: Download your created gift card as an image
- React
- TypeScript
- Vite
- Tailwind CSS
- @fontsource for font management
- Maximum file size for background images: 5MB
- Supported file formats: PNG, JPG, GIF
- Text automatically adjusts to maintain readability on any background
This project is licensed under the MIT License - see the LICENSE file for details.
- Special thanks to the React and TypeScript communities for their excellent documentation