All components

Shader Reveal Zoom Transition

Shader Reveal Zoom Transition is a React and Tailwind CSS background component from SmoothUI, licensed MIT. Copy it and paste it into your project.

SmoothUI MIT backgrounds

What it is

Shader Reveal Zoom Transition is a React and Tailwind CSS background component from SmoothUI, licensed MIT. Copy it and paste it into your project.

How to use it

Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.

Open in the catalogue

Five free copies a month. No card.

No packages beyond the project baseline

Licence

This component comes from SmoothUI and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.

Shader Reveal Zoom Transition

index.tsx
"use client";

import type { ReactNode } from "react";
import ShaderRevealTransition from "../shader-reveal-transition";

export interface ShaderRevealZoomTransitionProps {
  children: ReactNode;
  className?: string;
  duration?: number;
  onRest?: () => void;
  transitionKey: string | number;
}

const ShaderRevealZoomTransition = ({
  children,
  className,
  duration = 1080,
  onRest,
  transitionKey,
}: ShaderRevealZoomTransitionProps) => (
  <ShaderRevealTransition
    className={className}
    duration={duration}
    onRest={onRest}
    transitionKey={transitionKey}
    variant="zoom"
  >
    {children}
  </ShaderRevealTransition>
);

export default ShaderRevealZoomTransition;

Similar components