---
title: "Rain Prism | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/rain-prism-background"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/background-gradient/rain-prism-background.tsx"
install_command: "npx motion-ui-skill add rain-prism-background"
dependencies: ["clsx","react","tailwind-merge"]
category: "craft"
subcategory: "background-gradient"
---

# Rain Prism

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

## Install

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

## Dependencies

- `clsx`
- `react`
- `tailwind-merge`

## Usage

```tsx
"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 |

## Source Files

- [components/background-gradient/rain-prism-background.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/background-gradient/rain-prism-background.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
