Quote request form
A short form for tradespeople: type of job, description, postcode, timeframe, optional photos, then a confirmation summary.
- Tailwind
- React
- CSS
- WordPress
Description
Visitors pick the job on radio cards, describe their need with a character counter, give the site postcode (checked against the service area) and the desired timeframe. They can attach up to three photos, with thumbnails, size and a remove button; files that are too large or in another format are rejected with a clear message. Errors appear when leaving each field and in a clickable summary on submit; once the request is valid, a summary replaces the form. Accessibility: everything works with the keyboard, each message is tied to its field through aria-describedby and aria-invalid, focus moves to the error summary and then to the confirmation, added photos are announced by a live region, contrast exceeds 4.5:1 in light and dark modes and the confirmation animation stops with prefers-reduced-motion. Plug submission into your service (Formspree, your own API…).
Code
Loading the code…
The code of this component in
Archive contents
formulaire-demande-devis-html-tailwind.zip3 files · 9 Ko
- index.html27 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