DevSnips

React Component · Validation

Switch With Error

Switch with an associated validation message; sets aria-invalid and links the error via aria-describedby.