Appointment confirmed
Your consultation is booked
Reference #APT-2048
We saved your appointment
Appointment details
- Date
- Time
- Format
- Video consultation
Practitioner
Taylor Smith
Design system consultant
€95 paid
Booking and appointment flow composed from date and time inputs, radio choices, summary cards, validation and confirmation feedback.
Use an appointment flow when users must choose a service, time and meeting format before confirming. The examples keep the booking summary visible and show both validation and confirmation states so the next action remains clear after a response.
The HTML tabs show essential markup; layout wrappers, repeated content, secondary details and demo behavior are omitted.
Group the date and time controls before the appointment format so the booking follows a predictable order. Keep the selected service, practitioner, duration and price visible in adjacent summary cards.
Essential markup
<form class="card" action="/appointments" method="post" aria-labelledby="appointment-booking-title">
<h3 id="appointment-booking-title">Book a consultation</h3>
<div class="card-body grid gap-3">
<div class="col-12 col-lg-7">
<label class="form-label is-required" for="appointmentDate">Date</label>
<input class="form-control" id="appointmentDate" name="date" type="date" min="2026-09-12" value="2026-09-18" required />
<label class="form-label is-required" for="appointmentTime">Time</label>
<input class="form-control" id="appointmentTime" name="time" type="time" min="09:00" max="16:30" step="1800" value="10:30" required />
<fieldset>
<legend class="form-label is-required">Appointment format</legend>
<label class="selection-card">
<input class="selection-card-input" id="appointmentFormatVideo" name="format" type="radio" value="video" checked required />
<span class="selection-card-content">
<strong>Video consultation</strong>
<span class="selection-card-description">Join from a private link sent by email.</span>
</span>
</label>
<label class="selection-card">
<input class="selection-card-input" id="appointmentFormatOffice" name="format" type="radio" value="office" required />
<span class="selection-card-content">
<strong>In person</strong>
<span class="selection-card-description">Visit our office at 24 Example Street, Berlin.</span>
</span>
</label>
</fieldset>
<label class="form-label is-required" for="appointmentEmail">Confirmation email</label>
<input class="form-control" id="appointmentEmail" name="email" type="email" autocomplete="email" required />
</div>
<aside class="col-12 col-lg-5" aria-label="Appointment summary">
<p>Design system consultation with Taylor Smith · 45 minutes · €95</p>
<!-- Selected date, time, format and cancellation details omitted. -->
</aside>
</div>
<button class="btn btn-solid btn-primary" type="submit">Request appointment</button>
</form>On an unsuccessful response, place a linked error summary before the controls and preserve valid choices. Mark each affected control with aria-invalid and connect it to specific feedback using aria-describedby.
Essential markup
<form class="card" action="/appointments" method="post" aria-labelledby="appointment-validation-title">
<h3 id="appointment-validation-title">Choose another appointment</h3>
<div class="alert bg-error" role="alert" aria-labelledby="appointment-error-title">
<div class="alert-content">
<p class="alert-title" id="appointment-error-title">There are 3 problems</p>
<ul>
<li><a href="#appointmentInvalidDate">Choose an available date.</a></li>
<li><a href="#appointmentInvalidTime">Choose a time between 09:00 and 16:30.</a></li>
<li><a href="#appointmentInvalidFormatVideo">Choose an appointment format.</a></li>
</ul>
</div>
</div>
<label class="form-label is-required" for="appointmentInvalidDate">Date</label>
<input class="form-control is-invalid" id="appointmentInvalidDate" name="date" type="date" min="2026-09-12"
required aria-invalid="true" aria-describedby="appointmentInvalidDateFeedback" />
<div class="invalid-feedback" id="appointmentInvalidDateFeedback">Choose an available date.</div>
<label class="form-label is-required" for="appointmentInvalidTime">Time</label>
<input class="form-control is-invalid" id="appointmentInvalidTime" name="time" type="time" min="09:00" max="16:30"
required aria-invalid="true" aria-describedby="appointmentInvalidTimeFeedback" />
<div class="invalid-feedback" id="appointmentInvalidTimeFeedback">Choose a time between 09:00 and 16:30.</div>
<fieldset>
<legend class="form-label is-required">Appointment format</legend>
<div class="form-check">
<input class="form-check-input is-invalid" id="appointmentInvalidFormatVideo" name="format" type="radio"
value="video" required aria-invalid="true" aria-describedby="appointmentInvalidFormatFeedback" />
<label class="form-label" for="appointmentInvalidFormatVideo">Video consultation</label>
</div>
<!-- In-person radio uses the same name and feedback. -->
<div class="invalid-feedback" id="appointmentInvalidFormatFeedback">Choose an appointment format.</div>
</fieldset>
<!-- Preserve the confirmation email from the previous request. -->
<button class="btn btn-solid btn-primary" type="submit">Check availability</button>
</form>After the booking succeeds, present an explicit status and repeat the date, time, format, practitioner, reference and contact destination. Keep rescheduling and cancellation actions available without competing with the confirmation message.
Appointment confirmed
Reference #APT-2048
We saved your appointment
Practitioner
Design system consultant
€95 paid
Essential markup
<article class="card" aria-labelledby="appointment-confirmation-title">
<header class="card-header">
<h3 class="card-title" id="appointment-confirmation-title">Your consultation is booked</h3>
<span class="badge bg-success">Confirmed</span>
<p class="card-subtitle">Reference #APT-2048</p>
</header>
<div class="card-body">
<div class="alert bg-success" role="status">
<div class="alert-content">
<p class="alert-title">We saved your appointment</p>
<p class="alert-message">A calendar invitation and private video link were sent to john.doe@example.com.</p>
</div>
</div>
<dl>
<dt>Date</dt><dd><time datetime="2026-09-18">Friday, September 18, 2026</time></dd>
<dt>Time</dt><dd><time datetime="10:30">10:30–11:15 CEST</time></dd>
<dt>Format</dt><dd>Video consultation</dd>
</dl>
<!-- Practitioner and payment details omitted. -->
<button class="btn btn-text btn-secondary" type="button">Cancel appointment</button>
<button class="btn btn-outline btn-primary" type="button">Reschedule</button>
</div>
</article>