how to add manualy classes to div using react code example Example: dynsmic calss in react add className={`box ${isBoxVisible ? "" : "hidden"}`}