css or scss in react code example Example 1: scss react npm install node-sass --save Example 2: React Sass $myColor: red; h1 { color: $myColor; }