ghaerdi

Carved Neon Input

Forms

About

A text input field with a chamfered bottom-right corner and a neon glow focus ring, for cyberpunk/industrial-themed forms.

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

Code

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

Usage.tsx

"use client";
import * as React from "react";
import { Input } from "@/components/ui/input";

export default function InputDemo() {
  React.useEffect(() => {
    const prev = document.documentElement.dataset.nfStyle;
    document.documentElement.dataset.nfStyle = "streetkid";
    return () => {
      if (prev) document.documentElement.dataset.nfStyle = prev;
      else delete document.documentElement.dataset.nfStyle;
    };
  }, []);

  return (
    <div className="flex w-full max-w-sm flex-col gap-4 bg-background p-10">
      <Input placeholder="Enter callsign…" />
      <Input placeholder="Disabled" disabled />
    </div>
  );
}

More by ghaerdi

View all
  • Toast Notification

    Toast Notification

  • Chamfered Glass Card

    Chamfered Glass Card

More in Forms

View all
  • Premium Auth

    Premium Auth

    567
  • Login 2

    Login 2

    12
  • Form

    Form

    139
  • Book A Demo 1

    Book A Demo 1

    90
  • Contact Card

    Contact Card

    1.1K
  • Authentication Card

    Authentication Card

    51
  • Card Studio

    Card Studio

    46
  • Login 1

    Login 1

    62