my/ui

Command Palette

Search for a command to run...

All components

Rainy Ashville

gradients

A "Rainy Ashville" CSS gradient.

responsive · 600px

Install

Same command in any shadcn project — React (Vite/CRA), Next.js, Remix, Astro, and more:

$npx shadcn@latest add https://your-domain/r/gradient-rainy-ashville.json

Usage

import { GradientRainyAshville } from "@/registry/gradients/rainy-ashville";

export default function Demo() {
  return <GradientRainyAshville />;
}

Component source

import * as React from "react";
import { cn } from "@/lib/utils";

/** "Rainy Ashville" gradient. */
export const GradientRainyAshville_CSS = "linear-gradient(0deg, #fbc2eb 0%, #a6c1ee 100%)";

export function GradientRainyAshville({ className, style, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      className={cn("h-40 w-full rounded-xl", className)}
      style={{ backgroundImage: "linear-gradient(0deg, #fbc2eb 0%, #a6c1ee 100%)", ...style }}
      {...props}
    />
  );
}

Source: WebGradients