styled-components is a JavaScript library for component-scoped CSS. It uses tagged template literals and generated class names to keep styles associated with components. section 2.2
In a React interview, a useful question is: when would you choose styled-components over an imported CSS file? The main argument here is avoiding naming conflicts and improving maintainability. External CSS files remain a reasonable choice for global or smaller-scale styles; CSS Modules offer another locally scoped option. section 2.2

