UIPin
ComponentsIconsIllustrationsMotionTemplatesApps
Boards
UIPin

Free, open-source UI components, icons, illustrations, motion, templates and apps, in one search. Every item links to its source and licence.

UIPin is free. If it saved you time, you can keep it running:

Buy me a coffee
ComponentsIconsIllustrationsMotionTemplatesAppsLibrariesCompareNew this weekMCP for agentsBoardsPrivacy

Components, icons and artwork belong to their authors and are shown under their open-source licences.

SmoothUI/Ai Input

Inputs & forms
1 of 11
Compiling

Theme it

Every preview, live

Brand colour

Corner radius

Font

Recolours shadcn’s tokens, Tailwind’s accent colours and colours set in the code. Red, amber and green classes stay, since they usually mean error, warning or success.

11 versions·5 librariesCompare all inputs →

  • Ai Input
  • 8-bit Input
  • 8-bit Input-OTP
  • Input
  • Input group
  • Input OTP
  • Kokonut UI
  • Input
  • Input Group
  • Input Otp
  • Ai Prompt Input

Ai Input

Deprecated alias for morph-surface. Kept for one release so existing installs keep resolving.

npx shadcn@latest add https://smoothui.dev/r/ai-input.json
Open in v0 Docs Repo
Library
SmoothUI
License
MIT
Stack
React · Tailwind CSS · animated · base-ui
Packages
@base-ui/reactclass-variance-authoritymotion
Also adds
index, use-click-outside
Size
18 lines

Code

components/smoothui/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";

More like this

Toolbar Dynamic

Motion Primitives·Navigation

Toolbar Expandable

Motion Primitives·Navigation

Theme Toggler Button

Animate UI·ButtonsMIT+

Carousel

HextaUI·Media & 3D

Skeleton

shadcn/ui·Feedback & loaders

Sidebar

shadcn/ui·Navigation

Input Otp

shadcn/ui·Inputs & forms

Ai Orb Face

SmoothUI·Backgrounds

Dropdown Menu

shadcn/ui·Overlays

Sheet

shadcn/ui·Overlays

Border Trail

Motion Primitives·Cursor & effects

Toolbar

Kokonut UI·Navigation

8-bit Checkbox

8bitcn·Inputs & forms

Side Panel

Cult UI·Other

8-bit Avatar

8bitcn·Media & 3D