reuno-ui

Smooth Caret Input

Forms 2

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.4K
  • Background Paper Shaders

    Background Paper Shaders

    2.4K
  • Canvas Crowd

    Canvas Crowd

    1.6K
  • Text Scroll animation

    Text Scroll animation

    1.6K
  • Svg follow scroll

    Svg follow scroll

    1.5K
  • Slide Button

    Slide Button

    1K
  • Shader Svg

    Shader Svg

    828
  • Card Carousel

    Card Carousel

    706

More in Forms

View all
  • Contact Form

    Contact Form

    30
  • Form

    Form

    7
  • Contact Card

    Contact Card

    1.1K
  • Premium Auth

    Premium Auth

    608
  • Book A Demo 1

    Book A Demo 1

    94
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Paper Plane

    Paper Plane

    56
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.9K