Prompt
Build a single-page web app called "InvoiceForge" with a clean, minimal UI using a white and slate-gray color scheme with one accent color (blue-600). The page should have a form with the following sections: Your Details: Business name, your full name, email, phone number, address (textarea), and a logo upload field (accept image files only, show a live preview of the uploaded logo). Client Details: Client name, client email, client company name, client address (textarea). Invoice Meta: Invoice number (auto-generated as INV-0001 incrementing format with an edit option), invoice date (default today), due date (date picker), currency selector (MYR, USD, EUR, GBP, SGD). Line Items: A dynamic table where I can add/remove rows. Each row has: Item description (text), quantity (number), unit price (number), and an auto-calculated line total. Show a subtotal, tax percentage input (default 0%), tax amount, and grand total at the bottom — all auto-calculated in real time. Notes: A textarea for payment terms or additional notes. Use React with TypeScript and Tailwind CSS. Make the form fully responsive.
Share
Last Updated February 16, 2026