dixant

Tatva Input

Forms

About

A labeled text input field with optional helper text, inline validation error, and left/right addons, for forms that need accessible labels and status messaging.

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

Code

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

Usage.tsx

import Input from "@/components/ui/input";

export default function InputWithAddonsDemo() {
  return (
    <div className="w-full max-w-sm">
      <Input
        label="Email"
        placeholder="you@example.com"
        leftAddon={<span>@</span>}
        rightAddon={<span>.com</span>}
      />
    </div>
  );
}

More by dixant

View all
  • Tooltip

    Tooltip

    1
  • Spinner

    Spinner

    1
  • Select

    Select

  • Typography

    Typography

  • Avatar

    Avatar

  • Divider

    Divider

  • Stack

    Stack

  • Alert

    Alert

More in Forms

View all
  • Premium Auth

    Premium Auth

    600
  • Contact Form

    Contact Form

    28
  • Form

    Form

    6
  • Contact Card

    Contact Card

    1.1K
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    95
  • Input

    Input

    14
  • Book A Demo 4

    Book A Demo 4

    69