my/ui

Command Palette

Search for a command to run...

All components

Warm Flame

gradients

A "Warm Flame" 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-warm-flame.json

Usage

import { GradientWarmFlame } from "@/registry/gradients/warm-flame";

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

Component source

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

/** "Warm Flame" gradient. */
export const GradientWarmFlame_CSS = "linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%)";

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

Source: WebGradients