Appointment request form
A short form for independent businesses: name, phone, reason, preferred date and a morning or afternoon slot, with validation and a confirmation summary.
- Tailwind
- React
- CSS
- WordPress
Description
Designed for hairdressers, physiotherapists, garages and other independents who call clients back to set the time: visitors leave their name and phone number (landline or mobile, reformatted as 06 12 34 56 78 when leaving the field), pick a reason from a list, the preferred date in the native calendar, then morning or afternoon on two radio cards. The date is checked: from tomorrow, at most two months ahead, and never on a closing day (Sunday and Monday in the example, one line to change). Errors appear when leaving each field and in a clickable summary on submit; once the request is valid, a summary with the date spelled out 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, targets are at least 44 px, contrast exceeds 4.5:1 in light and dark modes (calendar included) 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-prise-rendez-vous-html-tailwind.zip3 files · 8 Ko
- index.html19 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