Quickstart
Get Generador QR Pro running on your local machine in just a few minutes. This guide will help you set up the project and create your first QR code quickly.Prerequisites
Before you begin, ensure you have the following installed:- Node.js (version 16 or higher recommended)
- npm (comes with Node.js) or your preferred package manager (yarn, pnpm)
- Git for cloning the repository
Installation steps
Install dependencies
Install all required npm packages:This will install:
- React 19.2.0 and React DOM
- qrcode.react 4.2.0 for QR generation
- Lucide React 0.576.0 for icons
- Vite 7.3.1 and build tools
Start the development server
Launch the application in development mode:The application will start on
http://localhost:5173 (or the next available port). Vite will display the exact URL in your terminal.Vite provides hot module replacement (HMR), so your changes will be reflected instantly in the browser without manual refresh.
Create your first QR code
Now that the application is running, let’s create your first QR code:Select a template
Choose from one of four available templates in the tabs:
- URL: For website links (default selection)
- WiFi: For network credentials
- Contacto: For vCard contact information
- Email: For email links with pre-filled content
https://www.bbc.com/mundo).Enter your data
Input your content based on the selected template:For URL:For WiFi:
- Network Name (SSID): Your WiFi network name
- Password: Your network password
- Security: WPA/WPA2, WEP, or No Password
- First Name and Last Name
- Phone number (e.g., +1 234 567 8900)
- Email address
- Company name (optional)
- Recipient email address
- Subject line
- Email body (optional)
Customize the appearance
Scroll down to the “Apariencia Premium” section to customize your QR code:
- Color del QR: Change the foreground color (default:
#0f172a- dark slate) - Fondo: Change the background color (default:
#ffffff- white) - Logo Central: Upload a custom logo (PNG, JPG, etc.) to display in the center
- Calidad: Select error correction level:
- Normal (L): ~7% correction
- Buena (M): ~15% correction
- Alta (Q): ~25% correction
- Máxima (H): ~30% correction (automatically used with logos)
Export your QR code
Once you’re satisfied with your design, export it in your preferred format:
- PNG: Click the “PNG” button to download a high-resolution raster image (2x scaling for print quality)
- SVG (Vector): Click the “SVG (Vector)” button for infinitely scalable vector graphics
qr-premium.pngfor PNG exportsqr-premium-vector.svgfor SVG exports
Example: Creating a WiFi QR code
Here’s a complete example of creating a WiFi QR code that guests can scan to connect to your network:Enter network details
Fill in your network information:
- Nombre de Red (SSID):
MyGuestNetwork - Contraseña:
Welcome2024! - Seguridad: Select
WPA/WPA2
Customize colors
Choose colors that match your brand:
- Color del QR:
#2563eb(blue) - Fondo:
#ffffff(white)
Add your logo
Click “Subir Imagen” and select your company logo. The app will automatically set error correction to Level H.
The generated WiFi QR code contains the data in the format:
WIFI:S:MyGuestNetwork;T:WPA;P:Welcome2024!;H:false;;Verify your setup
To ensure everything is working correctly:- Generate a QR code with any data
- The preview should update in real-time
- Export as PNG and SVG - both should download successfully
- Scan the QR code with your phone to verify it works
Development workflow
While developing, you can:- Make changes to any file in the
src/directory - See updates instantly in the browser (HMR)
- Check the browser console for any errors
- Run
npm run lintto check for code quality issues
Next steps
Installation guide
Learn about the project structure, available scripts, and development workflow
Customization
Explore advanced customization options including colors, logos, and quality settings