<div data-c-input="password">
    <label for="p2">My Password</label>
    <span>Required</span>
    <div>
        <input id="p2" required type="password" value="G1assesAreTheBestDisguise" />
        <button type="button">
            <i class="material-icons">
                visibility
            </i>
            <i class="material-icons">
                visibility_off
            </i>
        </button>
    </div>
    <span>This input has an error.</span>
</div>