Back to blocks

What is this?
A full-screen inn hero. Brewery stills Ken Burns and crossfade; on scroll the intro fades and right-aligned body copy appears. Swap the copy and photos, then drop it onto a ryokan or hospitality landing page.
Full TSX source. No account needed.
shuku-hero.tsx
"use client"; import { useEffect, useRef, useState } from "react";import { getScrollParent, isElementScrollRoot,} from "@/lib/studioPreviewMotion";import { cn } from "@/lib/utils";BlockPass
Inn Hero
A full-screen inn hero. Brewery stills Ken Burns and crossfade; on scroll the intro fades and right-aligned body copy appears. Swap the copy and photos, then drop it onto a ryokan or hospitality landing page.
Checking access…
Live PreviewVerified Technical Spec
- Animation
- CSS / Tailwind
- Reduced motion
- Verified
- Keyboard focus
- Not detected in source
- Compatibility
- Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible
Included
- Copy source into Cursor or Claude for agent install
- Responsive on phone, tablet, and desktop
- Finished React · TypeScript · Tailwind CSS UI
Dependencies
- React 19.0.0
- Typescript 5.7.2
- Tailwindcss 3.4.16
Tech Stack
- React
- TypeScript
- Tailwind CSS
Version 1.0.0





