All components

Shader Reveal Wipe Transition

Shader Reveal Wipe 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 Wipe 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 Wipe Transition

index.tsx
"use client";

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

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

const ShaderRevealWipeTransition = ({
  children,
  className,
  duration = 1080,
  onRest,
  transitionKey,
}: ShaderRevealWipeTransitionProps) => (
  <ShaderRevealTransition
    className={className}
    duration={duration}
    onRest={onRest}
    transitionKey={transitionKey}
    variant="wipe"
  >
    {children}
  </ShaderRevealTransition>
);

export default ShaderRevealWipeTransition;

Similar components