Skip to content

Magnet

Magnet is an icon for Objects interfaces, available in four styles.

ObjectsAdded Oct 3, 2026
16
20
24
32
48
All Objects icons
Tagsmagnetattractpullphysicsforce

Props

Every icon takes the same props. Set them once for a whole tree with IconProvider.

PropTypeDefaultWhat it does
sizenumber | string24Width and height in pixels.
weight'thin' | 'light' | 'regular' | 'bold' | 'extrabold''regular'Line weight; it scales with the size. Line and Duotone only.
colorstringcurrentColorFollows the text colour unless set.
classNamestring-Any utility class, passed to the svg.

Install this icon alone: npx shadcn@latest add @aicanvas/icon-magnet

Browse by category