lumesec

Pixel Underline Input

Forms

About

A labelled text field whose underline lights up from the caret and shakes or checks after validating on blur.

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

Code

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

Usage.tsx

import PxInput from "@/components/ui/px-input";

export default function PxInputDemo() {
  return (
    <div className="flex w-full max-w-sm items-center justify-center p-10">
      <PxInput
        name="email"
        label="Work email"
        type="email"
        required
        placeholder="you@example.com"
        hint="We’ll send the invite here"
        error="Enter a valid email address"
        className="w-full"
      />
    </div>
  );
}

More by lumesec

View all
  • Geo Traceroute

    Geo Traceroute

    93
  • Effort Slider

    Effort Slider

    65
  • Connection Globe

    Connection Globe

    34
  • Date Picker

    Date Picker

    29
  • Region Picker

    Region Picker

    26
  • Rotary Dial

    Rotary Dial

    26
  • Live Visitors Map

    Live Visitors Map

    18
  • Pixel Toaster

    Pixel Toaster

    15

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