Liquid Metal

Liquid Metal: Interactive fluid liquid metal shader surface reacting to mouse velocity. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Liquid Metal

npx motion-ui-skill add liquid-metal

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • @paper-design/shaders-react
  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Liquid Metal

Component from Motion UI: liquid-metal

Install

npx motion-ui-skill add liquid-metal

Dependencies

  • @paper-design/shaders-react
  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { LiquidMetal as LiquidMetal } from "@/components/craft/liquid-metal";

export function Example() {
  return (
    <div className="p-6">
      <LiquidMetal />
    </div>
  );
}

Browse this category