kanchanasw

Input Group

Forms 2

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

    147
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    83
  • Sketch Textarea

    Sketch Textarea

    68
  • Sketch Hover Card

    Sketch Hover Card

    53
  • Sketch Button

    Sketch Button

    29
  • Pagination

    Pagination

    12
  • Radial Progress

    Radial Progress

    10
  • Radial Menu

    Radial Menu

    7

More in Forms

View all
  • Form

    Form

    7
  • Contact Form

    Contact Form

    32
  • Login 2

    Login 2

    16
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    94
  • Paper Plane

    Paper Plane

    80
  • Premium Auth

    Premium Auth

    613
  • Authentication Card

    Authentication Card

    52