my/ui

Command Palette

Search for a command to run...

All components

Cloudy Knoxville

gradients

A "Cloudy Knoxville" 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-cloudy-knoxville.json

Usage

import { GradientCloudyKnoxville } from "@/registry/gradients/cloudy-knoxville";

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

Component source

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

/** "Cloudy Knoxville" gradient. */
export const GradientCloudyKnoxville_CSS = "linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%)";

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

Source: WebGradients