kanchanasw

Sketch Prompt Input

AI chats

About

An animated AI chat prompt bar whose voice-waveform icon morphs into a circular send button on focus or typing, drawn with hand-sketched rough.js borders.

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

Code

How Sketch Prompt Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import PromptInput from "@/components/ui/prompt-input";

export default function Demo() {
  return (
    <div className="w-full max-w-xl mx-auto p-6">
      <PromptInput placeholder="Ask anything..." />
    </div>
  );
}

Dependencies

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    85
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    50
  • Sketch Textarea

    Sketch Textarea

    38
  • Sketch Hover Card

    Sketch Hover Card

    28
  • Sketch Button

    Sketch Button

    21
  • Pagination

    Pagination

    6
  • Radial Menu

    Radial Menu

    3
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Message Thread

    Message Thread

    48
  • Attachments

    Attachments

    23
  • AI Task List

    AI Task List

    168
  • Environment Variables

    Environment Variables

    16
  • Memory Scope

    Memory Scope

    3
  • Code Block

    Code Block

    13