← Back

Activity Log

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

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

.ai-activity-log-icon * {
  transform-box: fill-box;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 220ms ease;
}

.ai-activity-log-icon .row {
  transform-origin: left center;
}
.ai-activity-log-icon .row-2,
.ai-activity-log-icon .row-4 {
  transform-origin: center;
}

.ai-activity-log-icon:not(.no-hover):hover .row-1 {
  animation: ai-activity-log-motion-1 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-activity-log-icon:not(.no-hover):hover .row-2 {
  animation: ai-activity-log-motion-2 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: 30ms;
}

.ai-activity-log-icon:not(.no-hover):hover .row-3 {
  animation: ai-activity-log-motion-3 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: 60ms;
}

.ai-activity-log-icon:not(.no-hover):hover .row-4 {
  animation: ai-activity-log-motion-4 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: 90ms;
}

.ai-activity-log-icon:not(.no-hover):hover .row-5 {
  animation: ai-activity-log-motion-5 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: 120ms;
}

.ai-activity-log-icon.no-hover * {
  transform: none;
  opacity: 1;
  animation: none;
}

@keyframes ai-activity-log-motion-1 {
  0%,
  100% {
    transform: none;
  }
  52% {
    transform: translateX(0.9px);
  }
}

@keyframes ai-activity-log-motion-2 {
  0%,
  100% {
    transform: none;
  }
  52% {
    transform: translateX(-0.5px) scaleX(1.08);
  }
}

@keyframes ai-activity-log-motion-3 {
  0%,
  100% {
    transform: none;
  }
  52% {
    transform: translateX(1.15px);
  }
}

@keyframes ai-activity-log-motion-4 {
  0%,
  100% {
    transform: none;
  }
  52% {
    transform: translateX(-0.5px) scaleX(1.08);
  }
}

@keyframes ai-activity-log-motion-5 {
  0%,
  100% {
    transform: none;
  }
  52% {
    transform: translateX(0.9px);
  }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <g className="row row-1"><path d="M0.9 1.5H2.8" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/><path d="M4.2 1.5H14.1" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/></g>
        <g className="row row-2"><path d="M4.2 4.5H11.4" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/></g>
        <g className="row row-3"><path d="M0.9 7.5H2.8" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/><path d="M4.2 7.5H14.1" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/></g>
        <g className="row row-4"><path d="M4.2 10.5H11.4" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/></g>
        <g className="row row-5"><path d="M0.9 13.5H2.8" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/><path d="M4.2 13.5H14.1" stroke="currentColor" strokeWidth="1" strokeLinecap="round"/></g>
      </svg>
    </>
  );
}