my/ui

Command Palette

Search for a command to run...

All components

Frozen Dreams

gradients

A "Frozen Dreams" 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-frozen-dreams.json

Usage

import { GradientFrozenDreams } from "@/registry/gradients/frozen-dreams";

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

Component source

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

/** "Frozen Dreams" gradient. */
export const GradientFrozenDreams_CSS = "linear-gradient(0deg, #fdcbf1 0%, #fdcbf1 1%, #e6dee9 100%)";

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

Source: WebGradients