cult/ui

Morph Surface

Forms 19

About

An animated feedback widget that morphs from a compact pill into an expanded textarea form with smooth spring animations and configurable dimensions, labels, and content.

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

Code

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

Usage.tsx

"use client";

import { MorphSurface } from "@/components/ui/morph-surface";

export default function MorphSurfaceDemo() {
  const handleSubmit = async (formData: FormData) => {
    const message = formData.get("message") as string;
    console.log("Submitted message:", message);
    await new Promise((resolve) => setTimeout(resolve, 500));
  };

  return (
    <div className="flex justify-center items-center w-full min-h-[360px] p-8">
      <MorphSurface
        triggerLabel="Feedback"
        placeholder="What's on your mind?"
        onSubmit={handleSubmit}
      />
    </div>
  );
}

Dependencies

More by cult/ui

View all
  • 3D Carousel

    3D Carousel

    2.5K
  • Logo Carousel

    Logo Carousel

    1.1K
  • Feature Carousel

    Feature Carousel

    510
  • Popover Form

    Popover Form

    420
  • Floating Panel

    Floating Panel

    250
  • Expandable

    Expandable

    131
  • Dock

    Dock

    120
  • Hero Liquid Metal

    Hero Liquid Metal

    106

More in Forms

View all
  • Contact Card

    Contact Card

    1K
  • Premium Auth

    Premium Auth

    524
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • SignInPage

    SignInPage

    667
  • Split Sign In Form

    Split Sign In Form

    46