← Back

Info Circled

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

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

.ai-info-circled-icon * {
  transform-box: fill-box;
}

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

.ai-info-circled-icon .dot {
  transform-origin: center;
}

.ai-info-circled-icon:not(.no-hover):hover .dot {
  animation: ai-info-circled-alert 700ms ease-in-out;
}

@keyframes ai-info-circled-alert {
  0%, 100% { transform: translateY(0); }
  25%, 75% { transform: translateY(-0.5px); }
  50% { transform: translateY(0); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="frame" d="M7.49915 0.876907C11.1566 0.876907 14.1218 3.84164 14.1222 7.49898C14.1222 11.1566 11.1568 14.122 7.49915 14.122C3.84181 14.1216 0.877075 11.1564 0.877075 7.49898C0.877487 3.8419 3.84206 0.877318 7.49915 0.876907ZM7.49915 1.82613C4.36673 1.82654 1.82671 4.36657 1.82629 7.49898C1.82629 10.6317 4.36648 13.1714 7.49915 13.1718C10.6321 13.1718 13.172 10.632 13.172 7.49898C13.1716 4.36631 10.6319 1.82613 7.49915 1.82613ZM7.60071 6.00972C7.82862 6.05627 8.0001 6.25829 8.00012 6.49995V9.99995H9.00012V11H6.00012V9.99995H7.00012V6.99995H6.00012V5.99995H7.50012L7.60071 6.00972Z" fill="currentColor"/>
        <path className="dot" d="M7.50012 3.74995C7.91423 3.75006 8.2501 4.08583 8.25012 4.49995C8.25012 4.9141 7.91424 5.24985 7.50012 5.24995C7.08591 5.24995 6.75012 4.91417 6.75012 4.49995C6.75015 4.08576 7.08592 3.74995 7.50012 3.74995Z" fill="currentColor"/>
      </svg>
    </>
  );
}