kanchanasw

Input Group

Forms

About

A text input wrapped in a hand-drawn sketch frame that supports leading/trailing addons and buttons, for forms like usernames, search boxes, or amount fields.

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

Code

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

Usage.tsx

"use client";

import {
  InputGroup,
  InputGroupAddon,
  InputGroupInput,
} from "@/components/ui/input-group";

export default function InputGroupDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-background p-10 text-foreground">
      <div className="w-full max-w-xs">
        <InputGroup roughness={1.5}>
          <InputGroupAddon>@</InputGroupAddon>
          <InputGroupInput placeholder="username" />
        </InputGroup>
      </div>
    </div>
  );
}

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    146
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    76
  • Sketch Textarea

    Sketch Textarea

    68
  • Sketch Hover Card

    Sketch Hover Card

    53
  • Sketch Button

    Sketch Button

    28
  • Pagination

    Pagination

    12
  • Radial Menu

    Radial Menu

    7
  • Sketch Prompt Input

    Sketch Prompt Input

    3

More in Forms

View all
  • Premium Auth

    Premium Auth

    577
  • Login 1

    Login 1

    68
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Login Card

    Login Card

    36
  • Login 2

    Login 2

    15
  • Change Password Form

    Change Password Form

    11
  • Form

    Form

    3