← Back

Modulz Logo

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

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

.ai-modulz-logo-icon * {
  transform-box: fill-box;
}

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

.ai-modulz-logo-icon .logo {
  transform-origin: center;
}

.ai-modulz-logo-icon:not(.no-hover):hover .logo {
  animation: ai-modulz-logo-bounce 700ms ease-in-out;
}

@keyframes ai-modulz-logo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="logo" d="M3.88867 11.833L1 14V9.66699L3.88867 11.833ZM14 14L11.1113 11.833L14 9.66699V14ZM3.88867 11.1113L1 8.94434L3.88867 6.77734V11.1113ZM14 8.94434L11.1113 11.1113V6.77734L14 8.94434ZM3.88867 6.05566L1 8.22266V3.88867L3.88867 6.05566ZM7.25879 8.22266L4.37012 6.05566L7.25879 3.88867V8.22266ZM10.6299 6.05566L7.74121 8.22266V3.88867L10.6299 6.05566ZM14 8.22266L11.1113 6.05566L14 3.88867V8.22266ZM3.88867 5.33301L1 3.16699L3.88867 1V5.33301ZM7.25879 3.16699L4.37012 5.33301V1L7.25879 3.16699ZM10.6299 5.33301L7.74121 3.16699L10.6299 1V5.33301ZM14 3.16699L11.1113 5.33301V1L14 3.16699Z" fill="currentColor"/>
      </svg>
    </>
  );
}