All components

AI Input

AI Input is a React and Tailwind CSS form component from SmoothUI, licensed MIT. Copy it and paste it into your project.

SmoothUI MIT forms

What it is

AI Input is a React and Tailwind CSS form component from SmoothUI, licensed MIT. Copy it and paste it into your project.

How to use it

Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.

Open in the catalogue

Five free copies a month. No card.

No packages beyond the project baseline

Licence

This component comes from SmoothUI and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.

AI Input

index.tsx
"use client";

/**
 * @deprecated Renamed to `morph-surface`.
 *
 * This component was never an AI input: its default export has always been
 * `MorphSurface`, a feedback dock that morphs a pill into a panel. The name sent
 * people looking for a chat composer — that is `ai-prompt-input`.
 *
 * This shim keeps `npx shadcn@latest add @smoothui/ai-input` working for one
 * release. Import from `morph-surface` instead:
 *
 * ```tsx
 * import MorphSurface from "@/components/smoothui/morph-surface";
 * ```
 */
export { default, default as MorphSurface } from "../morph-surface";

Similar components