Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Magnet icon
A free magnet icon from Themify Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/themify/magnet.jsonimport * as React from "react";
/**
* Magnet from Themify Icons (https://github.com/lykmapipo/themify-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/themify/magnet. Sized in em, colored by currentColor.
*/
export function TfiMagnetIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
version="1.1"
viewBox="0 0 17 17"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g />
<path
d="M11 0v10.122c0 1.329-1.122 2.409-2.5 2.409s-2.5-1.080-2.5-2.409v-10.122h-5v10.432c0 4.266 3.864 6.568 7.5 6.568s7.5-2.302 7.5-6.568v-10.432h-5zM15 1v3h-3v-3h3zM5 1v3h-3v-3h3zM8.5 16c-2.613 0-6.5-1.483-6.5-5.568v-5.432h3v5.122c0 1.88 1.57 3.409 3.5 3.409s3.5-1.529 3.5-3.409v-5.122h3v5.432c0 4.085-3.887 5.568-6.5 5.568z"
/>
</svg>
);
}import { TfiMagnet } from "react-icons/tfi";
export function Example() {
return <TfiMagnet className="size-5" />;
}<svg
version="1.1"
viewBox="0 0 17 17"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<g />
<path
d="M11 0v10.122c0 1.329-1.122 2.409-2.5 2.409s-2.5-1.080-2.5-2.409v-10.122h-5v10.432c0 4.266 3.864 6.568 7.5 6.568s7.5-2.302 7.5-6.568v-10.432h-5zM15 1v3h-3v-3h3zM5 1v3h-3v-3h3zM8.5 16c-2.613 0-6.5-1.483-6.5-5.568v-5.432h3v5.122c0 1.88 1.57 3.409 3.5 3.409s3.5-1.529 3.5-3.409v-5.122h3v5.432c0 4.085-3.887 5.568-6.5 5.568z"
/>
</svg>"Magnet" icon from Themify Icons (https://github.com/lykmapipo/themify-icons), licensed under MIT license.