← Back

Space Evenly Vertically

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

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

.ai-space-evenly-vertically-icon * {
  transform-box: fill-box;
}

.ai-space-evenly-vertically-icon.no-hover * {
  transform: none;
  opacity: 1;
  animation: none;
}

.ai-space-evenly-vertically-icon .block-1,
.ai-space-evenly-vertically-icon .block-2 {
  transform-origin: center;
}

.ai-space-evenly-vertically-icon:not(.no-hover):hover .block-1 {
  animation: ai-space-evenly-vertically-pulse 700ms ease-in-out;
}

.ai-space-evenly-vertically-icon:not(.no-hover):hover .block-2 {
  animation: ai-space-evenly-vertically-pulse 700ms ease-in-out 150ms;
}

@keyframes ai-space-evenly-vertically-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.2); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="block-top" d="M13.4999 1.52588e-05C13.776 1.5452e-05 13.9999 0.223873 13.9999 0.500015C13.9999 0.776157 13.776 1.00001 13.4999 1.00001H1.49988C1.22373 1.00001 0.999877 0.776157 0.999877 0.500015C0.999877 0.223873 1.22373 1.52688e-05 1.49988 1.52588e-05H13.4999Z" fill="currentColor"/>
        <path className="block-1" d="M7.99987 2.00001C8.55215 2.00001 8.99987 2.44773 8.99987 3.00001V6.00001C8.99987 6.55229 8.55215 7.00001 7.99987 7.00001H6.99987C6.44764 6.99994 5.99987 6.55225 5.99987 6.00001V3.00001C5.99987 2.44777 6.44764 2.00008 6.99987 2.00001H7.99987Z" fill="currentColor"/>
        <path className="block-2" d="M7.99987 8.00001C8.55215 8.00001 8.99987 8.44772 8.99987 9.00001V12C8.99987 12.5523 8.55215 13 7.99987 13H6.99987C6.44764 12.9999 5.99987 12.5522 5.99987 12V9.00001C5.99987 8.44776 6.44764 8.00007 6.99987 8.00001H7.99987Z" fill="currentColor"/>
        <path className="block-bottom" d="M13.4999 14C13.776 14 13.9999 14.2239 13.9999 14.5C13.9999 14.7761 13.776 15 13.4999 15H1.49988C1.22373 15 0.999877 14.7761 0.999877 14.5C0.999877 14.2239 1.22373 14 1.49988 14H13.4999Z" fill="currentColor"/>
      </svg>
    </>
  );
}