Blend Mouse Trailer Demo
atlas-ui/blend-mouse-trailer-demoFreeExample
Example showing the lazy mouse trailer which blends with the content on hover.
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/blend-mouse-trailer-demo.jsonSource
1"use client";23import { useState } from "react";45import { BlendMouseTrailer } from "@/registry/react/atlasui/blend-mouse-trailer";67export const BlendMouseTrailerDemo = () => {8 const [isHovered, setIsHovered] = useState(false);9 return (10 <div className="mx-auto flex h-full w-full max-w-7xl items-center justify-center">11 <h112 onMouseEnter={() => setIsHovered(true)}13 onMouseLeave={() => setIsHovered(false)}14 className="text-center text-5xl text-balance"15 >16 AtlasUI is an open-source library offering a suite of prebuilt animated17 components for React, Next.js, and Vanilla JS.18 </h1>1920 <BlendMouseTrailer isHovered={isHovered} />21 </div>22 );23};
What it pulls in
Other registry items
Files it writes
More from atlas-ui
All 99 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Animated Mobile Navbar Demoanimated-mobile-navbar-demo | atlas-ui | Examples | Free | no deps | |
| Animated Mobile Navbaranimated-mobile-navbar-html-demo | atlas-ui | Examples | Free | 1 dep · 3 files | |
| Animated Mobile Navbar Side Exampleanimated-mobile-navbar-side-example | atlas-ui | Examples | Free | no deps | |
| Blend Mouse Trailerblend-mouse-trailer-html-demo | atlas-ui | Examples | Free | no deps · 3 files | |
| Blob Mouse Trailer Demoblob-mouse-trailer-demo | atlas-ui | Examples | Free | no deps | |
| Blob Mouse Trailerblob-mouse-trailer-html-demo | atlas-ui | Examples | Free | no deps · 3 files | |
| Box Reveal Demobox-reveal-demo | atlas-ui | Examples | Free | no deps | |
| Box Revealbox-reveal-html-demo | atlas-ui | Examples | Free | 1 dep · 3 files |
