honestui

Metaballs

Shaders

About

Drift soft blobs of color that merge and pull apart like liquid.

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

Code

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

Usage.tsx

import Metaballs from "@/components/ui/honest-metaballs";

export default function MetaballsLogo() {
  return (
    <div className="flex w-full max-w-sm flex-col items-center rounded-xl border border-border bg-background px-6 pt-4 pb-8 text-center">
      <div className="h-48 w-full">
        <Metaballs
          className="size-full"
          colors={["#f97316", "#facc15", "#fb7185"]}
          count={5}
          followPointer={false}
          size={1.4}
          speed={0.7}
          spread={0.25}
        />
      </div>
      <p className="text-base font-medium text-foreground" role="status">
        Warming up your workspace
      </p>
      <p className="mt-1 text-sm text-muted-foreground">This takes about a minute.</p>
    </div>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    30
  • 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

    588
  • Shader Animation

    Shader Animation

    3.9K
  • Chroma Sense Hero

    Chroma Sense Hero

    22
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    74
  • Shader Lines

    Shader Lines

    2.5K
  • Molten Pillars

    Molten Pillars

    18
  • Wave

    Wave

    730