Booking Cards

Booking cards live in the customer app and lead users to review details of any bookings and edit any upcoming bookings.

Usage of Booking Cards

Booking lists are made up of booking cards. Booking cards are used to represent a single booking (can be an upcoming or past booking). When a user is viewing a booking card, they will see key information like type of service and date/time of that booking.

Booking Card Types

1. Booking Card (card-booking-basic)

2. Active Booking Card (card-booking-active)

Anatomy of Booking Card (card-booking)

Booking cards can be stacked vertically to show upcoming bookings or past bookings in sequential order.

1. Booking Avatar (avatar-bookings) Adds a visual element to the card and represents the service.

avatar-bookings:
max-height: 64px
max-width: 64px

padding-left: 16px
padding-right: 16px
padding-top: 24px
padding-bottom: 16px

2. Booking Information (text-h4, text-tert) Reflects key information about the booking. H4 styling for the Date and Tertiary styling for the Time and Service Name.

text-h4:
font-size: 16px
font-weight: bold
font-color: text-black
padding-bottom: 4px

text-tert:
font-size: 14px
font-weight: book
font-color: text-black
padding-bottom: 4px

3. Icon Metadata (text-tert) Font Awesome (a-icon-line) and tertiary styling is used for metadata icon and text. Metadata is only shown in booking cards if the booking is made through a partner(Wayfair, Walmart, HomeAdvisor, etc). Partner metadata will be differentiated by the partner's logo.

font awesome:
font-size: 14px
font-weight: book
font-color: slate-dark
padding-right: 4px

text-tert:
font-size: 14px
font-weight: book
font-color: slate-dark

partner-logo:
max-height: 18px

4. Divider Line (a-divider-light-343) For easy viewing and consumption, cards have divider lines.

a-divider-light:
max-width: 343px
max-height: 1px
color: slate-light
padding-top: 24px

Anatomy of Active Booking States (card-booking-active)

On the day of the booking, the basic booking card will have a map component added to it that will give the customer updates about their booking.

1. Booking Card (card-booking) Booking Card component is reused here. The H4 will be updated with "Today"

2. Map (a-card-map) Visualization of the status of the booking.

a-map:
max-width: 343px
max-height: 193px
padding-top: 24px
padding-bottom: 24px

3. Status Bar (a-card-booking-status) Reflects the status of the booking and pro's ETA and floats inside the map.

padding-left: 8px
padding-right: 8px
padding-bottom: 8px

a. Container

max-width: 327px
max-height:  44px
margin: 8px

b. Status Indicator (a-icon-indicator)

a-icon-indicator:
max-width: 12px
max-height: 12px
padding-left: 16px
padding-right: 8px
padding-top: 16px
padding-bottom: 16px

a-indicator colors:
blue-medium - on time
red-medium - late
slate-dark - status unknown

c. Status Text (a-text-paragraph)

a-text-paragraph:
font-weight: book
font-size: 16px
font-color: text-black

padding-left: 8px
padding-right: 16px
padding-top: 16px
padding-bottom: 16px

Last updated