← Back

Double Arrow Down

Install

npm install @svg-animated-icons/react

CLI

Copy an icon component straight into your project — shadcn-style. Replace {icon} with an icon name like arrow-left.

terminal
npx @svg-animated-icons/cli add {icon} --react
FlagDescription
--dest <dir>Destination directory (default: components/animated-icons)

Or copy the component with the CLI

CLI
npx @svg-animated-icons/cli add double-arrow-down --react

Code

React
// Generated by @svg-animated-icons/cli
// You own this file — edit it freely.

import React from "react";

type Props = {
  disableHover?: boolean;
  className?: string;
};

export function DoubleArrowDownIcon({ disableHover, className }: Props) {
  const classes = [
    "ai-double-arrow-down-icon",
    disableHover ? "no-hover" : "",
    className ?? "",
  ]
    .filter(Boolean)
    .join(" ");

  return (
    <>
      <style>{`
.ai-double-arrow-down-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  cursor: pointer;
  overflow: visible;
}

.ai-double-arrow-down-icon * {
  transform-box: fill-box;
}

.ai-double-arrow-down-icon.no-hover * {
  transform: none;
  opacity: 1;
  animation: none;
}

.ai-double-arrow-down-icon .chev { transform-origin: center; }

.ai-double-arrow-down-icon:not(.no-hover):hover .chev-1 {
  animation: ai-double-arrow-down-1 700ms ease-in-out 0ms;
}

.ai-double-arrow-down-icon:not(.no-hover):hover .chev-2 {
  animation: ai-double-arrow-down-2 700ms ease-in-out 120ms;
}

@keyframes ai-double-arrow-down-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.5px); }
}

@keyframes ai-double-arrow-down-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.5px); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="chev chev-1" d="M3.5 3L7.5 7L11.5 3" stroke="currentColor" strokeWidth="1.25" strokeLinecap="round" strokeLinejoin="round"/>
        <path className="chev chev-2" d="M3.5 8L7.5 12L11.5 8" stroke="currentColor" strokeWidth="1.25" strokeLinecap="round" strokeLinejoin="round"/>
      </svg>
    </>
  );
}