MynduiMyndui
0

MCP Connector

GitHub

Gooey Stack

tsx
import { GooeyStack } from "@/components/myndui/gooey-stack";import { useState } from "react";export function ConnectPrompt() {const [open, setOpen] = useState(false);return (  <GooeyStack collapsed={!open}>    {/* Children are transparent content — GooeyStack draws the card surface */}    <div className="flex items-center gap-3 px-5 py-4">…GitHub connector…</div>    <div className="relative h-36 px-5 py-4">      <textarea placeholder="Tap the plug to connect a source and watch it merge in…" />      <div className="absolute right-4 bottom-4 flex gap-2">        {/* Plug icon springs the connector out of the input */}        <button onClick={() => setOpen((o) => !o)} aria-label="Connect a source">          <PlugIcon />        </button>        <button aria-label="Send"><ArrowUpIcon /></button>      </div>    </div>  </GooeyStack>);}