albertarakelyan

Wtk Input

Forms

About

A GTK-styled text input field with an optional label, leading/trailing icon, size variants, and an inline validation error message.

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

Code

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

Usage.tsx

import WtkInput from "@/components/ui/wtk-input";

export default function WtkInputDemo() {
  return (
    <div className="flex flex-wrap items-center gap-3">
      <WtkInput
        inputSize="sm"
        placeholder="Small"
        wrapperClassName="max-w-[220px]"
      />
      <WtkInput
        inputSize="md"
        placeholder="Medium"
        wrapperClassName="max-w-[220px]"
      />
      <WtkInput
        inputSize="lg"
        placeholder="Large"
        wrapperClassName="max-w-[220px]"
      />
    </div>
  );
}

More by albertarakelyan

View all
  • Wtk Textarea

    Wtk Textarea

  • GTK Radio Button

    GTK Radio Button

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Authentication Card

    Authentication Card

    47
  • Book A Demo 3

    Book A Demo 3

    83
  • Book A Demo 1

    Book A Demo 1

    69
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Login 2

    Login 2

    7