<div class="b-form__group">
    <label class="b-form__label" for="datepicker">Datepicker</label>
    <input class="b-form__input js-datepicker" type="text" id="datepicker" placeholder="Datepicker">
    <span class="b-form__message"></span>
</div>
<div class="b-form__group">
    <label class="b-form__label" for="datepicker">Datepicker</label>
    <input class="b-form__input js-datepicker" type="text" id="datepicker" placeholder="Datepicker">
    <span class="b-form__message"></span>
</div>
/* No context defined for this component. */

This is handled using a JS plugin called suprisingly…(drumroll)…datepicker, information here: https://fengyuanchen.github.io/datepicker/