Back to projects

QR Express

Make a QR code, adjust its appearance and download it as PNG, SVG or PDF.

QR Express project screenshot

What it does

The app uses React for the settings and preview, while export logic converts the QR's SVG to the requested file format. Recent URLs stay in localStorage.

Decisions

Render the preview as SVG
`qrcode.react` produces an SVG from the URL, colors and error correction level. The preview updates with React state.
Use canvas for PNG and PDF
PNG and PDF exports draw the SVG to a canvas. jsPDF embeds the resulting image in a PDF.
Keep history in the browser
The history hook stores the 10 most recent URL entries locally; it does not require an account.

Screens

Recently saved URLs.
QR colors and error correction settings.
QR Express at a narrow screen width.
File formats and export settings.

Full notes

More on the implementation and challenges.

Next project

Tactic Tac Toe

A two-player tic-tac-toe game with move history and win detection.

Working on something similar? Get in touch.