my/ui

Command Palette

Search for a command to run...

All components

Morpheus Den

gradients

A "Morpheus Den" 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-morpheus-den.json

Usage

import { GradientMorpheusDen } from "@/registry/gradients/morpheus-den";

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

Component source

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

/** "Morpheus Den" gradient. */
export const GradientMorpheusDen_CSS = "linear-gradient(0deg, #30cfd0 0%, #330867 100%)";

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

Source: WebGradients