You need USB-C (for the correct connection type) so any Apple charging adaptor with a maximum output rating 20W or higher will be good for either a wired connection or MagSafe. Note the power rating is simply the maximum an adaptor can provide. Your iPhone is smart and will only take as much as it needs even if it is only a few % of the charger's rating, you should not need to worry about fast or slow charging.
If you want to continue using an older USB-A charger/adaptor I know the 10W or 12W units will work, and even lower will probably work but not tested. You will probably need to look at a Lightning to USB-C adaptor so you can continue to use your existing Lightning cables from a previous iPhone. Apple list a suitable device on my home store (UK) and it will exist in other regions but you might have to search
USB-C to Lightning Adapter - Apple (UK)
This adaptor is also useful if you have USB-A sockets in the car and need to charge on a long road trip.