Smart label and input component.