A free, client-side invoice & receipt generator built with React + Vite — fill in bill details, pick from 14+ invoice/receipt templates, and preview/print your bill. Originally scaffolded with GPT Engineer, then extended with multiple templates.
Features
- Bill builder — bill-to / ship-to sections, item details (name, quantity, rate, tax), auto-computed grand total
- 14+ invoice templates —
Template1–Template9plusReceipt1–Receipt4and two base templates, each with a preview thumbnail inpublic/assets/ - Template gallery page — browse templates and jump to the bill editor
- Receipt page — dedicated receipt view
- Print/PDF-ready — print-friendly layouts for generating PDFs via the browser
- Fully client-side — no backend, no login, no data leaves the browser
- Radix UI primitives, React Hook Form, Framer Motion animations
Tech stack
- React 18 + JavaScript (JSX)
- Vite build tooling
- Tailwind CSS + shadcn-style component set (
components.json, Radix UI) - React Hook Form + Zod (
@hookform/resolvers) - Framer Motion, Lucide React
Quick start
npm install --legacy-peer-deps
npm run dev # http://localhost:8080 (check vite config / terminal output)
npm run build # outputs to dist/
npm run preview
Project structure
.
├── index.html
├── src/
│ ├── App.jsx
│ ├── pages/
│ │ ├── Index.jsx # main bill editor
│ │ ├── TemplatePage.jsx # template gallery
│ │ └── ReceiptPage.jsx # receipt view
│ └── components/
│ ├── templates/ # Template1-9, Receipt1-4, BaseTemplate(2)
│ ├── BillToSection.jsx
│ ├── ItemDetails.jsx
│ └── ...
├── public/assets/ # template preview thumbnails
└── package.json
Env vars
None — fully static client-side app.
Deploy notes
Built with npm run build and deployed to Cloudflare Pages from dist/.
Built by Girish Lade — https://ladestack.in