add materialize trigger in react code example Example: materialize css for react //to use materialize css in react js npm install materialize-css