Rain Prism

Rain Prism: Moody rainfall with angled streaks and a soft prism band across the scene — music, film, and reflective editorial layouts. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Rain Prism

npx motion-ui-skill add rain-prism-background

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Rain Prism

Moody rainfall with angled streaks and a soft prism band across the scene — music, film, and reflective editorial layouts.

Install

npx motion-ui-skill add rain-prism-background

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { RainPrismBackground } from "@/components/background-gradient/rain-prism-background";

export function RainPrismBackgroundDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <RainPrismBackground />
    </div>
  );
}

API Reference

RainPrismBackground

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category