Dots Vertical
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 dots-vertical --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 DotsVerticalIcon({ disableHover, className }: Props) {
const classes = [
"ai-dots-vertical-icon",
disableHover ? "no-hover" : "",
className ?? "",
]
.filter(Boolean)
.join(" ");
return (
<>
<style>{`
.ai-dots-vertical-icon {
width: 1em;
height: 1em;
display: inline-block;
cursor: pointer;
overflow: visible;
}
.ai-dots-vertical-icon * {
transform-box: fill-box;
}
.ai-dots-vertical-icon.no-hover * {
transform: none;
opacity: 1;
animation: none;
}
.ai-dots-vertical-icon .dot { transform-origin: center; }
.ai-dots-vertical-icon:not(.no-hover):hover .dot {
animation: ai-dots-vertical-bounce 700ms ease-in-out;
}
.ai-dots-vertical-icon:not(.no-hover):hover .dot-1 { animation-delay: 0ms; }
.ai-dots-vertical-icon:not(.no-hover):hover .dot-2 { animation-delay: 120ms; }
.ai-dots-vertical-icon:not(.no-hover):hover .dot-3 { animation-delay: 240ms; }
@keyframes ai-dots-vertical-bounce {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-1.5px); }
}
`}</style>
<svg
xmlns="http://www.w3.org/2000/svg"
className={classes}
viewBox="0 0 15 15"
fill="none"
>
<circle className="dot dot-1" cx="7.5" cy="2.5" r="1.125" fill="currentColor"/>
<circle className="dot dot-2" cx="7.5" cy="7.5" r="1.125" fill="currentColor"/>
<circle className="dot dot-3" cx="7.5" cy="12.5" r="1.125" fill="currentColor"/>
</svg>
</>
);
}