my/ui

Command Palette

Search for a command to run...

All components

Amy Crisp

gradients

A "Amy Crisp" 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-amy-crisp.json

Usage

import { GradientAmyCrisp } from "@/registry/gradients/amy-crisp";

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

Component source

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

/** "Amy Crisp" gradient. */
export const GradientAmyCrisp_CSS = "linear-gradient(120deg, #a6c0fe 0%, #f68084 100%)";

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

Source: WebGradients