Resume
Install
npm install @svg-animated-icons/reactCLI
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| Flag | Description |
|---|---|
--dest <dir> | Destination directory (default: components/animated-icons) |
Or copy the component with the CLI
CLI
npx @svg-animated-icons/cli add resume --reactCode
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 ResumeIcon({ disableHover, className }: Props) {
const classes = [
"ai-resume-icon",
disableHover ? "no-hover" : "",
className ?? "",
]
.filter(Boolean)
.join(" ");
return (
<>
<style>{`
.ai-resume-icon {
width: 1em;
height: 1em;
display: inline-block;
cursor: pointer;
overflow: visible;
}
.ai-resume-icon * {
transform-box: fill-box;
}
.ai-resume-icon.no-hover * {
transform: none;
opacity: 1;
animation: none;
}
.ai-resume-icon .triangle {
transform-origin: center;
}
.ai-resume-icon:not(.no-hover):hover .triangle {
animation: ai-resume-push 700ms ease-in-out;
}
@keyframes ai-resume-push {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(0.8px); }
}
`}</style>
<svg
xmlns="http://www.w3.org/2000/svg"
className={classes}
viewBox="0 0 15 15"
fill="none"
>
<path className="bar" d="M2.49976 2.19995C2.80345 2.19995 3.04946 2.44609 3.04956 2.74976V12.2498C3.04956 12.5535 2.80351 12.7996 2.49976 12.7996C2.19609 12.7995 1.94995 12.5534 1.94995 12.2498V2.74976C1.95006 2.44615 2.19615 2.20006 2.49976 2.19995Z" fill="currentColor"/>
<path className="triangle" fillRule="evenodd" d="M5.24194 2.32202C5.39191 2.23163 5.57825 2.22575 5.73315 2.30737L14.7332 7.05737C14.8971 7.1439 14.9997 7.3144 14.9998 7.49976C14.9998 7.68519 14.8971 7.85559 14.7332 7.94214L5.73315 12.6921C5.57822 12.7738 5.39196 12.7679 5.24194 12.6775C5.092 12.587 4.99976 12.4249 4.99976 12.2498V2.74976C4.99982 2.57461 5.09196 2.41248 5.24194 2.32202ZM5.99976 11.4197L13.4275 7.49976L5.99976 3.57886V11.4197Z" fill="currentColor"/>
</svg>
</>
);
}