Definitely frontend—React is a JavaScript frontend library used to build user interfaces (UIs) for websites or web apps. React is exclusively used to create such UI elements as buttons, menus, search bars, i.e., all the elements that users will see on screen in their browsers.