← Back

Thick Arrow Up

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 thick-arrow-up --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 ThickArrowUpIcon({ disableHover, className }: Props) {
  const classes = [
    "ai-thick-arrow-up-icon",
    disableHover ? "no-hover" : "",
    className ?? "",
  ]
    .filter(Boolean)
    .join(" ");

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

.ai-thick-arrow-up-icon * {
  transform-box: fill-box;
}

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

.ai-thick-arrow-up-icon .arrow {
  transform-origin: center;
}

.ai-thick-arrow-up-icon:not(.no-hover):hover .arrow {
  animation: ai-thick-arrow-up-bounce 700ms ease-in-out;
}

@keyframes ai-thick-arrow-up-bounce {
  0%, 50%, 100% { transform: translateY(0); }
  25%, 75% { transform: translateY(-1.5px); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="arrow" fillRule="evenodd" d="M7.49996 1C7.6614 1 7.81333 1.07764 7.90719 1.20898L12.9072 8.20898C13.016 8.36136 13.0299 8.562 12.9443 8.72852C12.8586 8.89505 12.6873 9 12.5 9H9.99996V11.5C9.99996 11.7761 9.7761 12 9.49996 12H5.49996C5.22382 12 4.99996 11.7761 4.99996 11.5V9H2.49996C2.31267 9 2.14133 8.89505 2.05563 8.72852C1.96999 8.562 1.9839 8.36136 2.09273 8.20898L7.09273 1.20898L7.17379 1.12109C7.26354 1.04384 7.37895 1 7.49996 1ZM3.47262 8H5.49996C5.7761 8 5.99996 8.22386 5.99996 8.5V11H8.99996V8.5C8.99996 8.22386 9.22382 8 9.49996 8H11.5273L7.49996 2.36035L3.47262 8Z" fill="currentColor"/>
      </svg>
    </>
  );
}