About
Fill a section with flowing clouds, ridges, or marble in your colors.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Warp to your project and fits it to your theme.
Code
How Warp is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import Warp, { type WarpPattern } from "@/components/ui/honest-warp";
interface WarpSettings {
colors: string[];
pattern: WarpPattern;
scale: number;
octaves: number;
warp: number;
swirl: number;
contrast: number;
speed: number;
paused: boolean;
}
const defaults: WarpSettings = {
colors: ["#14161f", "#2c3552", "#6f7fa8", "#d9c8b4", "#f6efe6"],
pattern: "fbm",
scale: 1,
octaves: 5,
warp: 1,
swirl: 0.3,
contrast: 1.2,
speed: 0.4,
paused: false,
};
const patterns: { label: string; value: WarpPattern }[] = [
{ label: "fbm", value: "fbm" },
{ label: "Ridged", value: "ridged" },
{ label: "Marble", value: "marble" },
];
export default function WarpDemo() {
const settings = defaults;
return (
<div className="flex min-h-[420px] w-full items-center justify-center p-6">
<div className="h-80 w-full max-w-xl overflow-hidden rounded-xl">
<div className="size-full bg-[#2c3552]">
<Warp className="size-full" {...settings} />
</div>
</div>
</div>
);
}
















