← Back

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

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

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

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

.ai-stitches-logo-icon .logo {
  transform-box: view-box;
  transform-origin: 7.5px 7.5px;
}

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

@keyframes ai-stitches-logo-spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="logo" d="M7.50037 0.849976C11.1729 0.850187 14.1498 3.8278 14.1498 7.50037C14.1496 11.1728 11.1728 14.1496 7.50037 14.1498C3.8278 14.1498 0.850187 11.1729 0.849976 7.50037C0.849976 3.82767 3.82767 0.849976 7.50037 0.849976ZM6.849 13.1107C7.06279 13.1353 7.28 13.1498 7.50037 13.1498C9.82469 13.1496 11.8197 11.7455 12.6869 9.73962L6.849 13.1107ZM7.82556 5.19861L11.3617 7.82068L11.4291 7.8822C11.5687 8.03804 11.5849 8.2759 11.4554 8.45056C11.4175 8.50156 11.3695 8.53992 11.3177 8.5697L11.3187 8.57166L9.87341 9.40466C9.87024 9.40677 9.86687 9.40851 9.86365 9.41052L8.41052 10.2484C8.39769 10.2573 8.38405 10.2644 8.37048 10.2719L4.68689 12.3988C4.96677 12.5599 5.26129 12.6981 5.56873 12.8099L13.0619 8.48376C13.118 8.16426 13.1498 7.83595 13.1498 7.50037C13.1498 5.80215 12.4001 4.27935 11.2142 3.24353L7.82556 5.19861ZM1.91248 6.65564C1.87116 6.9312 1.84998 7.2133 1.84998 7.50037C1.85009 9.23964 2.63716 10.7941 3.87341 11.8304L7.32361 9.83728L3.72498 7.26501L3.71814 7.25818C3.69841 7.24351 3.6798 7.22741 3.66248 7.20935L3.65662 7.20447L3.65466 7.20154C3.64687 7.193 3.64037 7.18342 3.63318 7.17419C3.62199 7.15989 3.61119 7.14561 3.60193 7.13025C3.60052 7.12792 3.59842 7.12578 3.59705 7.12341C3.59397 7.11809 3.59206 7.11221 3.58923 7.10681C3.58066 7.09047 3.57227 7.07417 3.5658 7.05701C3.56081 7.04378 3.55677 7.03042 3.5531 7.01697C3.55185 7.01239 3.5503 7.00791 3.54919 7.0033L3.53943 6.95447C3.53879 6.94929 3.53891 6.94403 3.53845 6.93884C3.53125 6.86033 3.5442 6.77964 3.57947 6.70544L3.62341 6.6322C3.62899 6.62459 3.63589 6.618 3.64197 6.61072C3.6553 6.59473 3.66892 6.57948 3.68396 6.5658C3.68925 6.56099 3.695 6.55671 3.70056 6.55212C3.71598 6.53939 3.73167 6.52739 3.74841 6.51697C3.75284 6.5142 3.75753 6.51081 3.76208 6.50818L10.4213 2.66248C10.149 2.49766 9.86075 2.3572 9.56091 2.23962L1.91248 6.65564ZM4.81482 6.93787L8.18005 9.34314L8.80603 8.98279L5.50916 6.53748L4.81482 6.93787ZM6.35779 6.04724L9.65564 8.49158L10.2738 8.13416L6.97693 5.68884L6.35779 6.04724ZM7.50037 1.84998C5.11309 1.84998 3.07211 3.33108 2.24451 5.42419L8.32947 1.9115C8.05882 1.87167 7.78208 1.84999 7.50037 1.84998Z" fill="currentColor"/>
      </svg>
    </>
  );
}