Building a React component library with styled-components: Input Field

The TextField component we are going to create as shown on my CodePen demo / GitHub demo

From simple .css files to sassy .scss files, and to the CSS in JS styled-components, web developers have come a long way in styling the web.

Building a component library with React doesn’t mean you must include styled-components. You can still use plain CSS, or SCSS files that would be compiled into CSS, or CSS modules, or even inline styles…