Skip to content

Mascot animation in TypingIndicator #32

@goog

Description

@goog

Problem or Motivation

some claw product like https://masko.ai/claude-code and petclaw
has a mascot animation.
i think that's interesting. and i have tried to do it, although not the best

+        <div className="flex items-center gap-2" aria-hidden="true">
+         <div className="w-[55px] h-[45px] overflow-hidden flex items-center justify-center">
+           <Lottie
+             animationData={typingAnimation}
+               loop
+               autoplay
+               style={{
+               width: "100px",     // 放大一点
+               height: "100px",
+               transform: "translateY(1px)" // 往下移,让猫露出来
+               }}
+               rendererSettings={{
+               preserveAspectRatio: "xMidYMid slice"
+               }}
+           />
+         </div>

Proposed Solution

maybe pinchchat could have one mascot.

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions