Library navigation

Pastel Mascot Background

A floating mascot filled with an animated pastel mesh gradient and pointer-tracking eyes.

A floating mascot with an animated pink, sky-blue, and navy mesh gradient. Its eyes follow the pointer, while reduced-motion preferences pause both the shader and float animation.

Installation

Add the pastel-mascot-background component from Hangry UI to this project.
Use the project's package manager to run:
shadcn@latest add https://ui.razeev.com/r/pastel-mascot-background.json
Integrate the component with the existing layout and styling.
Keep its interactions and reduced-motion support intact.

How to use

import { PastelMascotBackground } from "@/components/hangry-ui/shader/pastel-mascot-background";
<PastelMascotBackground className="max-w-60" />

Props

PropTypeDefaultDescription
speednumber0.5Gradient animation rate; set to 0 to pause.
intensitynumber1Gradient brightness, clamped from 0 to 2.
interactivebooleantrueEnables pointer-following eye movement.

Dependencies

  • Motion
  • vgpu