Validator component