install google fonts react js code example
Example: how to add google fonts to css in react
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@700&display=swap');
at the top of css file
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@700&display=swap');
at the top of css file