NK

Search

Search pages, posts, and components

All icons

IconExternalLink

Navigation

Animated, copy-ready variants of the IconExternalLink icon, powered by Motion.

Animations

Click a card to copy its Motion snippet - drop it straight into a "use client" component.

Installation

Animated component. Pulls animated-icon-external-link.tsx into your project with every variant above, and installs motion and the icon set for you:

$pnpm dlx shadcn@latest add https://nawalkattel.com.np/r/icon-icon-external-link.json
import { AnimatedIconExternalLink } from "@/components/ui/animated-icon-external-link";

export function Example() {
  return <AnimatedIconExternalLink variant="pulse" className="size-6" />;
}

Icon only. If you just want the glyph, install the set and import it directly:

$pnpm add @tabler/icons-react
import { IconExternalLink } from "@tabler/icons-react";

export function Example() {
  return <IconExternalLink className="size-6" />;
}

Animated usage

Animations use motion - install it with pnpm add motion, then wrap the icon in a motion.span. Each card above copies its own variant; here's the full component:

"use client";

import { motion } from "motion/react";
import { IconExternalLink } from "@tabler/icons-react";

export function AnimatedIconExternalLink() {
  return (
    <motion.span
      animate={{ rotate: 360 }}
      transition={{ duration: 1.8, ease: "linear", repeat: Infinity }}
    >
      <IconExternalLink className="size-6" />
    </motion.span>
  );
}