brand-ollama-icon
itshover/brand-ollama-iconFreeComponent
itshover publishes no description for this item.
Install it
npx shadcn@latest add https://itshover.com/r/brand-ollama-icon.jsonSource
1import { forwardRef, useImperativeHandle, useCallback } from "react";2import type { AnimatedIconHandle, AnimatedIconProps } from "./types";3import { motion, useAnimate } from "motion/react";45const BrandOllamaIcon = forwardRef<AnimatedIconHandle, AnimatedIconProps>(6 ({ size = 24, color = "currentColor", className = "" }, ref) => {7 const [scope, animate] = useAnimate();89 const start = useCallback(() => {10 // Body breathing effect - subtle scale11 animate(12 ".ollama-body",13 { scale: [1, 1.03, 1] },14 { duration: 0.8, repeat: Infinity, ease: "easeInOut" },15 );1617 // Eyes blink - immediate and noticeable18 animate(19 ".ollama-eye",20 { scaleY: [1, 0.1, 1] },21 { duration: 0.2, delay: 0.3, repeat: Infinity, repeatDelay: 2 },22 );2324 // Nose wiggle - playful25 animate(26 ".ollama-nose",27 { y: [0, -1, 1, 0] },28 { duration: 0.3, repeat: Infinity, repeatDelay: 1 },29 );30 }, [animate]);3132 const stop = useCallback(() => {33 animate(".ollama-body", { scale: 1 }, { duration: 0.2 });34 animate(".ollama-eye", { scaleY: 1 }, { duration: 0.2 });35 animate(".ollama-nose", { y: 0 }, { duration: 0.2 });36 }, [animate]);3738 useImperativeHandle(ref, () => ({39 startAnimation: start,40 stopAnimation: stop,41 }));4243 return (44 <motion.svg45 ref={scope}46 width={size}47 height={size}48 viewBox="0 0 24 24"49 fill={color}50 fillRule="evenodd"51 className={className}52 xmlns="http://www.w3.org/2000/svg"53 onHoverStart={start}54 onHoverEnd={stop}55 >56 <title>Ollama</title>5758 {/* Outer body/shell (without ears) */}59 <motion.path60 className="ollama-body"61 style={{ transformBox: "fill-box", transformOrigin: "center bottom" }}62// … truncated
What it pulls in
npm packages
Files it writes
More from itshover
All 263 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accessibility-iconaccessibility-icon | itshover | Components | Free | 1 dep · 2 files | |
| airplane-iconairplane-icon | itshover | Components | Free | 1 dep · 2 files | |
| alarm-clock-plus-iconalarm-clock-plus-icon | itshover | Components | Free | 1 dep · 2 files | |
| align-center-iconalign-center-icon | itshover | Components | Free | 1 dep · 2 files | |
| align-vertical-space-around-iconalign-vertical-space-around-icon | itshover | Components | Free | 1 dep · 2 files | |
| ambulance-iconambulance-icon | itshover | Components | Free | 1 dep · 2 files | |
| ampersand-iconampersand-icon | itshover | Components | Free | 1 dep · 2 files | |
| angry-iconangry-icon | itshover | Components | Free | 1 dep · 2 files |
