my/ui

Command Palette

Search for a command to run...

All components

Young Passion

gradients

A "Young Passion" 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-young-passion.json

Usage

import { GradientYoungPassion } from "@/registry/gradients/young-passion";

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

Component source

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

/** "Young Passion" gradient. */
export const GradientYoungPassion_CSS = "linear-gradient(90deg, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%)";

export function GradientYoungPassion({ className, style, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      className={cn("h-40 w-full rounded-xl", className)}
      style={{ backgroundImage: "linear-gradient(90deg, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%)", ...style }}
      {...props}
    />
  );
}

Source: WebGradients