Question Mark Circled
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 question-mark-circled --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 QuestionMarkCircledIcon({ disableHover, className }: Props) {
const classes = [
"ai-question-mark-circled-icon",
disableHover ? "no-hover" : "",
className ?? "",
]
.filter(Boolean)
.join(" ");
return (
<>
<style>{`
.ai-question-mark-circled-icon {
width: 1em;
height: 1em;
display: inline-block;
cursor: pointer;
overflow: visible;
}
.ai-question-mark-circled-icon * {
transform-box: fill-box;
}
.ai-question-mark-circled-icon.no-hover * {
transform: none;
opacity: 1;
animation: none;
}
.ai-question-mark-circled-icon .mark {
transform-box: view-box;
transform-origin: 7.5px 7.5px;
}
.ai-question-mark-circled-icon:not(.no-hover):hover .mark {
animation: ai-question-mark-circled-wobble 700ms ease-in-out;
}
@keyframes ai-question-mark-circled-wobble {
0%, 100% { transform: rotate(0); }
30% { transform: rotate(-10deg); }
70% { transform: rotate(10deg); }
}
`}</style>
<svg
xmlns="http://www.w3.org/2000/svg"
className={classes}
viewBox="0 0 15 15"
fill="none"
>
<path className="ring" fillRule="evenodd" 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.877319 7.49915 0.876907ZM7.49915 1.82613C4.36674 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.82613Z" fill="currentColor"/>
<path className="mark" d="M7.50012 9.74995C7.91423 9.75006 8.25009 10.0858 8.25012 10.5C8.25012 10.9141 7.91425 11.2498 7.50012 11.25C7.08591 11.25 6.75012 10.9142 6.75012 10.5C6.75015 10.0858 7.08593 9.74995 7.50012 9.74995ZM7.50012 3.82515C8.93513 3.82519 10.0499 4.9279 10.0499 6.24995C10.0499 7.35371 9.31972 7.89011 8.78528 8.2148C8.48593 8.39664 8.30488 8.48614 8.15051 8.6064C8.08554 8.65705 8.05977 8.68922 8.0509 8.70308L8.04895 8.70406C8.04674 9.00589 7.80247 9.24991 7.50012 9.24995C7.19643 9.24995 6.95042 9.00382 6.95032 8.70015C6.95034 8.23216 7.2324 7.92706 7.47473 7.73824C7.6953 7.56644 8.01457 7.39708 8.21497 7.27534C8.6804 6.99257 8.95032 6.74107 8.95032 6.24995C8.95028 5.57211 8.36497 4.9248 7.50012 4.92476C6.63522 4.92476 6.04996 5.57208 6.04993 6.24995C6.04993 6.55368 5.80384 6.79971 5.50012 6.79976C5.19637 6.79976 4.95032 6.55371 4.95032 6.24995C4.95035 4.92787 6.06507 3.82515 7.50012 3.82515Z" fill="currentColor"/>
</svg>
</>
);
}