Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Link icon
A free link icon from Heroicons, 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/heroicons/link.jsonimport * as React from "react";
/**
* Link from Heroicons (https://github.com/tailwindlabs/heroicons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/heroicons/link. Sized in em, colored by currentColor.
*/
export function HiLinkIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 20 20"
aria-hidden="true"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fillRule="evenodd"
d="M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z"
clipRule="evenodd"
/>
</svg>
);
}import { HiLink } from "react-icons/hi";
export function Example() {
return <HiLink className="size-5" />;
}<svg
viewBox="0 0 20 20"
aria-hidden="true"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z"
clip-rule="evenodd"
/>
</svg>"Link" icon from Heroicons (https://github.com/tailwindlabs/heroicons), licensed under MIT license.Related icons: url, chain, hyperlink, connect
Link icon in other sets
- Link · Circum Icons
- Link · Font Awesome 5
- Link · Font Awesome 6
- Link · Ionicons 5
- Link · Material Design icons
- Link · Typicons
- Link · Github Octicons icons
- Link · Feather
- Link · Lucide
- Link · Bootstrap Icons
- Link · Remix Icon
- Link · Flat Color Icons
- Link · Grommet-Icons
- Link · Heroicons 2
- Link · Simple Line Icons
- Link · IcoMoon Free
- Link · BoxIcons
- Link · css.gg