I want to create an input field like in the picture, if the input field becomes focused then I want to change the background to blur
Do I have to use a certain library? I'm currently using Material UI
If you are using Material UI, the Backdrop component is something you could try.
You will be able to blur the background, showing only your menu component in the front