Mines were any type of explosive designed to be concealed and detonated whenever enemies were nearby. There were hundreds of different varieties of mine made by a variety of manufacturers.
There were several different types of anti-personnel mine. Most were triggered by physical pressure, such as a footstep. Other mines used a beam projector attached to a shaped charge that triggered when the beam was broken. Still other varieties used timers or motion sensors.
There are many different types of mine in the Star Wars Universe.