reuno-ui

Smooth Caret Input

Forms 1

About

A text input with a custom spring-animated caret that smoothly tracks cursor position instead of using the native browser caret, including support for password fields.

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

Code

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

Usage.tsx

import { Input, SmoothInput } from "@/components/ui/smooth-caret-input";

export default function SmoothCaretInputDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <div className="space-y-4 text-2xl">
        <SmoothInput
          placeholder="smooth input"
          aria-label="Smooth caret input"
        />
        <Input
          placeholder="normal input"
          className="caret-primary"
          aria-label="Normal input"
        />
      </div>
    </div>
  );
}

Dependencies

More by reuno-ui

View all
  • Hero

    Hero

    3.2K
  • Background Paper Shaders

    Background Paper Shaders

    2.4K
  • Text Scroll animation

    Text Scroll animation

    1.4K
  • Svg follow scroll

    Svg follow scroll

    1.3K
  • Canvas Crowd

    Canvas Crowd

    1.1K
  • Slide Button

    Slide Button

    1K
  • Shader Svg

    Shader Svg

    686
  • Hero Section

    Hero Section

    673

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Book A Demo 3

    Book A Demo 3

    83
  • Authentication Card

    Authentication Card

    47
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Book A Demo 1

    Book A Demo 1

    69
  • Login 2

    Login 2

    7