Click and collect order form
An order form for in-store pickup: quantity per item, pickup day and time slot (full slots blocked) and a live total.
- Tailwind
- React
- CSS
- WordPress
Description
For a bakery, grocery or caterer taking orders online and collecting payment at pickup. Each item has a quantity selector (44 px minus and plus buttons, named for screen readers, and a typeable number field bounded from 0 to 20); the item count and the total in euros update on every change. The customer picks a day then a slot: that day's full slots are disabled and marked “full”, described as JSON in data-fcc-full. On submit, an empty basket, a missing slot, or a wrong name or phone number are flagged with aria-invalid and a message linked to the field; the confirmation sums up items, amount, day and slot in a role="status" region. Saving the order plugs into your server or till. AA contrast in light and dark mode, no horizontal scrolling from 360 px. Example: weekend orders at a neighbourhood bakery.
Code
Loading the code…
The code of this component in
Archive contents
formulaire-commande-click-collect-html-tailwind.zip3 files · 7 Ko
- index.html21 Ko
- README.md4 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A recruitment form for small businesses: target position, introduction, CV checked in the browser and GDPR consent, with inline errors.
- Tailwind
- React
- CSS
- WordPress

A quote request form whose labels, hints and error messages are full French sentences, still readable at 320 px: nothing overflows, nothing is cut off, and each error is tied to its field.
- Tailwind
- React
- CSS
- WordPress

Visitors pick a package and tick options: the pre-tax total, VAT and total including tax update live, and the summary is sent with the contact form.
- Tailwind
- React
- CSS
- WordPress

A short NPS survey: a 0 to 10 score as radio buttons, then a follow-up question adapted to whether the customer is a detractor, passive or promoter.
- Tailwind
- React
- CSS
- WordPress