A ready-to-use, responsive React + TypeScript component template for building a contact and appointment scheduling UI in healthcare applications.
- Layout: Two-column design. Contact information and appointment form presented simultaneously, no modal, no extra clicks.
- Responsiveness: Fully responsive across mobile, tablet, and desktop.
- Validation: Client-side form validation with inline error handling and required field enforcement.
- UX Detail: Practitioner selector, date/time picker, and WhatsApp contact, mimicking real healthcare workflows.
- Performance: Perfect Lighthouse scores across all four metrics post-optimization.
- Architecture: Component-based React structure. Scoped, reusable, and easy to adapt.
Audited with Google Lighthouse against a production build:
| Metric | Before | After |
|---|---|---|
| Performance | 100 | 100 |
| Accessibility | 100 | 100 |
| Best Practices | 96 | 100 |
| SEO | 90 | 100 |
Optimizations made:
- Resolved all console errors and warnings.
- Added meta description for search engine visibility.
- Added
robots.txtto guide search engine crawlers.
- Node.js v18+
git clone https://github.com/kovymun/react-contact-us-section.git
cd react-contact-section
npm install
npm run devApp runs on http://localhost:5173
npm run build
npm run previewMIT — free to use, adapt, and build upon.
Developer & Designer: Koveshan Munsami
Disclaimer: All names, addresses, locations, and contact details, including Riverside Medical Centre and practitioner names, are entirely fictional, created solely to demonstrate a real-world healthcare UI pattern. Any resemblance to real individuals or organizations is purely coincidental.
