A logic-level MOSFET such as the IRLZ44N turns fully on with 5 V on its gate. Its on-resistance is about 0.025 Ω at that gate voltage, so a 2 A strip wastes only
P = I² × R = 2² × 0.025 = 0.1 W
and needs no heatsink. A standard MOSFET such as the IRF540 needs about 10 V on the gate and only half turns on from 5 V, so it gets hot; use a logic-level part.
R1 (220 Ω) in series with the gate limits the current spike when the pin switches the gate's capacitance. R2 (10 kΩ) from gate to ground keeps the MOSFET off while the microcontroller boots, before the pin is configured, so the strip doesn't flash on at power-up.
For dimming, analogWrite(pin, 0…255) on a PWM pin sets the brightness. Join the 12 V supply's ground to the Arduino's ground, or the gate has no reference and the MOSFET won't switch. From a 3.3 V board, pick a MOSFET specified at 2.5 V gate drive (for example AO3400).