material ui textfield focus state code example Example: mui textfield focus <TextField inputRef={input => input && input.focus()} />