Component for form inputs