← Back

Corner Bottom Right

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

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

.ai-corner-bottom-right-icon * {
  transform-box: fill-box;
}

.ai-corner-bottom-right-icon.no-hover * {
  transform: none;
  opacity: 1;
  animation: none;
}

.ai-corner-bottom-right-icon .curve {
  stroke-dasharray: 16;
  stroke-dashoffset: 0;
}

.ai-corner-bottom-right-icon:not(.no-hover):hover .curve {
  animation: ai-corner-bottom-right-draw 700ms ease-in-out;
}

@keyframes ai-corner-bottom-right-draw {
  0% { stroke-dashoffset: 16; }
  50%, 100% { stroke-dashoffset: 0; }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="curve" d="M3.5 11.5H6C8.5 11.5 11 9 11 6.5V3" stroke="currentColor" strokeWidth="1" strokeLinecap="round" strokeLinejoin="round" fill="none"/>
      </svg>
    </>
  );
}