klyv-ui

Fluid Canvas

Backgrounds 2

About

An interactive WebGL fluid simulation that swirls behind page content, reacting to the pointer or touch and recoloring itself from the page's accent, for use as a hero or section background.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Fluid Canvas to your project and fits it to your theme.

Code

How Fluid Canvas is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import FluidCanvas from "@/components/ui/fluid-canvas";

export default function FluidCanvasSingleColourDemo() {
  return (
    <div className="relative h-screen w-full overflow-hidden">
      <FluidCanvas
        className="absolute inset-0 h-full w-full"
        colors={["#3b82f6"]}
        curl={40}
        quality="high"
      />
    </div>
  );
}

More by klyv-ui

View all
  • Gantt Chart

    Gantt Chart

    106
  • Shader Canvas

    Shader Canvas

    69
  • Klyv Animated Beam

    Klyv Animated Beam

    68
  • Pareto Chart

    Pareto Chart

    60
  • Sunburst Chart

    Sunburst Chart

    35
  • Time Slot Picker

    Time Slot Picker

    32
  • Morphing Text

    Morphing Text

    32
  • Gooey Loader

    Gooey Loader

    29

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    944
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    259
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    623
  • Gradient Blur Bg

    Gradient Blur Bg

    23
  • Background snippets

    Background snippets

    117
  • Dark Gradient Background

    Dark Gradient Background

    164