klyv-ui

Fluid Canvas

Backgrounds

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

    52
  • Klyv Animated Beam

    Klyv Animated Beam

    44
  • Pareto Chart

    Pareto Chart

    39
  • Shader Canvas

    Shader Canvas

    35
  • Sunburst Chart

    Sunburst Chart

    23
  • Morphing Text

    Morphing Text

    20
  • Gravity Tags

    Gravity Tags

    17
  • Gooey Loader

    Gooey Loader

    15

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    810
  • Jade Sky

    Jade Sky

    85
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Background snippets

    Background snippets

    105
  • Dark Gradient Background

    Dark Gradient Background

    144
  • Background Components

    Background Components

    20
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    533
  • LivingOrigami bg

    LivingOrigami bg

    133