There's not a single type of EU laws, there are "regulations" and "directives".
Regulations are complete laws applicable immediately across the EU as they stand, the states are required to amend any conflicting law but the regulations already automatically prevail on any conflicting local law.
Directives instead need to be transposed into local law by each state individually, and can leave many details to the individual implementations.