honestui

Warp

Shaders

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>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

  • Secret Row

    Secret Row

  • Undoable Action

    Undoable Action

  • OTP Field

    OTP Field

  • Audio Orb

    Audio Orb

  • AI Glow Border

    AI Glow Border

More in Shaders

View all
  • Glass Fold

    Glass Fold

    591
  • Shader Animation

    Shader Animation

    3.9K
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    76
  • Animated Shader Background

    Animated Shader Background

    2.1K
  • Molten Pillars

    Molten Pillars

    18
  • Shader Lines

    Shader Lines

    2.5K