linking your component to css file react code example Example: react import css import "./FileName.css";