MagSafe technology for the iPhone has expanded significantly since its introduction in the iPhone 12 line in the year 2020.
It is not like the initial MagSafe charging case for the Apple MacBook line that relied in a proprietary wire there are a myriad of accessory options, both from third-party and official sources, have been able to work with the iPhone's MagSafe as it is based on the use of simple magnets which connect directly to your phone. Nowadays you can easily get an apple magsafe wireless charger by navigating online.
Recently, Apple has brought MagSafe to the charging case that houses third-generation AirPods. 3rd generation AirPods as well as AirPods Pro. This means that MagSafe is very widely used. Apple sells a range of official phone chargers, wallets, phone cases as well as other items that will be attached to the back of the 2020 and 2021 iPhone models.
Also, Apple being Apple and all, these official accessories come with some unique tricks. However, third-party companies have released a range of magnetic devices that function very well, even though they don't come with Apple's official certificate.
iPhone 12 line and the iPhone 12 line, as well as iPhone 13 line are embedded with what Apple calls "an assortment of magnetic elements" in a central charging coil that is able to pull upwards of 15 watts which is twice as strong than wireless charging in previous iPhones, yet on par with other phones.
If you place the cord's charging cord to your iPhone's back, the magnets pull it to its right place. Similar to other MagSafe accessories. Depending on the accessory you're clipping the iPhone will show a short animation relating to the accessory in order to verify that it's secured.