This component no longer exists. It was in atlas-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Blob Mouse Trailer
atlas-ui/blob-mouse-trailerRemovedComponent
A simple Lazy Blob Mouse Trailer
Live preview
live · rendered by the registry
Rendered by atlas-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://atlasui.dev/r/blob-mouse-trailer.jsonSource
1"use client";23import { useEffect, useState } from "react";45import { motion, useMotionValue, useSpring } from "motion/react";67export const BlobMouseTrailer = () => {8 const [isVisible, setIsVisible] = useState(false);910 const mouse = {11 x: useMotionValue(0),12 y: useMotionValue(0),13 };1415 const mouseMove = (e: any) => {16 const { clientX, clientY } = e;17 mouse.x.set(clientX - 192);18 mouse.y.set(clientY - 192);19 setIsVisible(true);20 };2122 const smoothOptions = {23 damping: 10,24 stiffness: 35,25 mass: 0.5,26 };2728 const smoothMouse = {29 x: useSpring(mouse.x, smoothOptions),30 y: useSpring(mouse.y, smoothOptions),31 };3233 useEffect(() => {34 window.addEventListener("mousemove", mouseMove);3536 return () => {37 window.removeEventListener("mousemove", mouseMove);38 };39 }, []);40 return (41 <motion.div42 className={` ${43 isVisible ? "hidden md:block" : "hidden"44 } animate-rotate pointer-events-none fixed top-0 left-0 -z-10 h-96 w-96 rounded-full bg-linear-to-r from-purple-500 to-amber-500 opacity-80 blur-[100px]`}45 style={{46 left: smoothMouse.x,47 top: smoothMouse.y,48 }}49 />50 );51};
What it pulls in
npm packages
