This component no longer exists. It was in blaze-motion’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 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.
Cinematic Image
blaze-motion/cinematic-imageRemovedComponent
Cinematic scale-down settle (110% → 100%) for large images inside an overflow-hidden frame.
Install it
npx shadcn@latest add https://motion.asmitsah.dev/r/cinematic-image.jsonSource
1"use client";23import * as m from "motion/react-m";4import type { CSSProperties, ReactNode } from "react";5import { cinematicScale, durations, ease, viewportOnce } from "@/lib/motion";67type CinematicImageProps = {8 children: ReactNode;9 className?: string;10 style?: CSSProperties;11};1213/**14 * Cinematic scale-DOWN settle (110% → 100%) for LARGE images only.15 * The wrapper (or a parent) MUST be `overflow-hidden` so the 1.1 scale is16 * clipped — otherwise the oversized image overflows and shifts layout.17 * Never apply this to titles/text; those stay a straight rise, no scale.18 */19export function CinematicImage({ children, className, style }: CinematicImageProps) {20 return (21 <m.div22 className={className}23 style={style}24 initial={cinematicScale.initial}25 whileInView={cinematicScale.animate}26 viewport={viewportOnce}27 transition={{ duration: durations.slow, ease: ease.out }}28 >29 {children}30 </m.div>31 );32}
What it pulls in
npm packages
Other registry items
