How can you use Styled Components inside an IFrame? It took some research, but I found an elegant solution using styled-components and react-frame-component. Happily, styled-components includes a StyleSheetManager component that can take a target prop. The target expects a DOM node, and it will attach its dynamically created stylesheets to that node. react-frame-component uses React's context API