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="[email protected]"
        leftAddon={<span>@</span>}
        rightAddon={<span>.com</span>}
      />
    </div>
  );
}

More by dixant

View all
  • Tooltip

    Tooltip

    1
  • Select

    Select

  • Typography

    Typography

  • Avatar

    Avatar

  • Divider

    Divider

  • Stack

    Stack

  • Alert

    Alert

  • Accordion

    Accordion

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19