brand-qwen-icon
itshover/brand-qwen-iconFreeComponent
itshover publishes no description for this item.
Install it
npx shadcn@latest add https://itshover.com/r/brand-qwen-icon.jsonSource
1import { forwardRef, useImperativeHandle, useCallback } from "react";2import type { AnimatedIconHandle, AnimatedIconProps } from "./types";3import { motion, useAnimate } from "motion/react";45const BrandQwenIcon = forwardRef<AnimatedIconHandle, AnimatedIconProps>(6 ({ size = 24, color = "currentColor", className = "" }, ref) => {7 const [scope, animate] = useAnimate();89 const start = useCallback(() => {10 // Wobble animation: slight rotation back and forth with scale pulse11 animate(12 scope.current,13 { rotate: [0, -8, 8, -4, 4, 0], scale: [1, 1.05, 1] },14 { duration: 0.6, ease: "easeInOut" },15 );16 }, [animate, scope]);1718 const stop = useCallback(() => {19 animate(20 scope.current,21 { rotate: 0, scale: 1 },22 { duration: 0.2, ease: "easeOut" },23 );24 }, [animate, scope]);2526 useImperativeHandle(27 ref,28 () => ({29 startAnimation: start,30 stopAnimation: stop,31 }),32 [start, stop],33 );3435 return (36 <motion.svg37 ref={scope}38 onHoverStart={start}39 onHoverEnd={stop}40 fill={color}41 fillRule="evenodd"42 viewBox="0 0 24 24"43 height={size}44 width={size}45 style={{ flex: "none", lineHeight: 1 }}46 xmlns="http://www.w3.org/2000/svg"47 className={`qwen-icon cursor-pointer ${className}`}48 >49 <title>Qwen</title>5051 {/* Complete Qwen logo with evenodd fill rule for hollow center */}52 <motion.path53 className="qwen-shape"54// … 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 |
