Speaker Moderate
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 speaker-moderate --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 SpeakerModerateIcon({ disableHover, className }: Props) {
const classes = [
"ai-speaker-moderate-icon",
disableHover ? "no-hover" : "",
className ?? "",
]
.filter(Boolean)
.join(" ");
return (
<>
<style>{`
.ai-speaker-moderate-icon {
width: 1em;
height: 1em;
display: inline-block;
cursor: pointer;
overflow: visible;
}
.ai-speaker-moderate-icon * {
transform-box: fill-box;
}
.ai-speaker-moderate-icon.no-hover * {
transform: none;
opacity: 1;
animation: none;
}
.ai-speaker-moderate-icon .wave {
transform-origin: left center;
}
.ai-speaker-moderate-icon:not(.no-hover):hover .wave {
animation: ai-speaker-moderate-radiate 700ms ease-in-out;
}
@keyframes ai-speaker-moderate-radiate {
0%, 100% { transform: scaleX(1); opacity: 1; }
50% { transform: scaleX(1.25); opacity: 0.5; }
}
`}</style>
<svg
xmlns="http://www.w3.org/2000/svg"
className={classes}
viewBox="0 0 15 15"
fill="none"
>
<path className="speaker" d="M7.25879 1.06173C7.40141 0.983238 7.5754 0.978824 7.72363 1.05294C7.89302 1.13764 8 1.31082 8 1.50021V13.5002C8 13.6896 7.89302 13.8628 7.72363 13.9475C7.55436 14.0321 7.35167 14.014 7.2002 13.9006L3.33301 11.0002H1.5C0.723336 11.0002 0.0846097 10.4099 0.0078125 9.65353L0 9.50021V5.50021C1.61064e-06 4.67178 0.671574 4.00021 1.5 4.00021H3.33301L7.2002 1.09982L7.25879 1.06173ZM3.7998 4.9006C3.71332 4.96536 3.60805 5.00021 3.5 5.00021H1.5C1.22386 5.00021 1 5.22407 1 5.50021V9.50021L1.00977 9.60079C1.05629 9.82876 1.25829 10.0002 1.5 10.0002H3.5C3.60805 10.0002 3.71332 10.0351 3.7998 10.0998L7 12.4992V2.50021L3.7998 4.9006Z" fill="currentColor"/>
<path className="wave" d="M10.2783 3.84786C10.4391 3.74101 10.6493 3.76594 10.7812 3.89669L10.833 3.95919L10.9629 4.16232C12.2548 6.27294 12.2112 8.96972 10.833 11.0412C10.7106 11.2248 10.4621 11.2747 10.2783 11.1526C10.0945 11.0302 10.0448 10.7818 10.167 10.5979C11.3724 8.78619 11.4094 6.42524 10.2793 4.57931L10.166 4.40255L10.1289 4.33126C10.059 4.15887 10.1174 3.95493 10.2783 3.84786Z" fill="currentColor"/>
</svg>
</>
);
}