Onboarding Modal, Chalk

Building a modal with multiple functional requirements

Requirements

UX and Product presented to me this concept of a modal, to launch at initial login, that would have multiple functionalities:

All of our applications were built in LitHTML which uses the ShadowDOM method. Most styling needed to be encapsulated within the component — excepting where CSS Properties were called.

I used CSS grid to layout the two states: the responsive view and the wide desktop view. In the responsive view the cards were to take on a stacked landscape orientation, in desktop view, horizontal portrait alingment. The iOS card also needed to adjust its sliding orientation from portrait to landscape.

Once the JavaScript was in place to enable the slider, the next part to be done were the cards with respecitve content and they needed to be responsive per the Figma comps. The completion of this part in the 1st video below:

Next the entire content needed to slide left to reveal the “Try Out a Session” section, revealing an image, marketing copy, app download QR Code and app store buttons, and also be responsive.

Finally the iOS and Android card had to individually slide left to reveal an image, marketing copy, app download QR Code and app store buttons, and also be responsive.

Success! and a highly functional modal.