Magnet icon
Magnet icon from the Biskit set (Essentials): a 24 px line icon with a 1.5 px stroke. Copy the SVG or PNG, or take the code for React, Vue and Svelte.
Also found as: magnet, attract, magnetic, lead, pull.
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M20 12V5.5C20 4.793 20 4.439 19.78 4.22C19.561 4 19.207 4 18.5 4H16.5C15.793 4 15.439 4 15.22 4.22C15 4.439 15 4.793 15 5.5V12C15 13.66 13.66 15 12 15C10.34 15 9 13.66 9 12V5.5C9 4.793 9 4.439 8.78 4.22C8.561 4 8.207 4 7.5 4H5.5C4.793 4 4.439 4 4.22 4.22C4 4.439 4 4.793 4 5.5V12C4 16.42 7.58 20 12 20C16.42 20 20 16.42 20 12Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M4 8.5H9" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M15 8.5H20" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></svg>