Magnet is a Spirit Shard found in Ori and the Will of the Wisps.
Where to Find Edit
It can be found in Inkwater Marsh in the Howl's Den subarea. It is behind a breakable wall in the top right corner of the area the Spirit Edge Ancestral tree is found in.
Magnet Spirit Shard behind breakable wall
Magnet Spirit Shard map location