You can use effects for hover and click mode to make your system interactive. In this code, we have created a hawthorn effect for a button using React. This button on the border is black and gray. By placing the mouse on it, the button expands slightly and its color becomes pink.