BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Unlumen Ui/animate-text-input-typing

Animated Input

unlumen-ui/animate-text-input-typing
PaidComponent

An animated text input with per-character motion and a cursor that springs between typing and selection states.

Live preview

live · rendered by the registry
Rendered by Unlumen Ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.unlumen.com/r/animate-text-input-typing.json
This registry’s item endpoint answers 401 — the command needs credentials from Unlumen Ui.

Source

registry itemui.unlumen.com/r/animate-text-input-typing.json · first 6 KB
1"use client";
2
3import React, {
4 useCallback,
5 useEffect,
6 useRef,
7 useState,
8 forwardRef,
9} from "react";
10import {
11 motion,
12 MotionConfig,
13 AnimatePresence,
14 type TargetAndTransition,
15 type Transition,
16} from "motion/react";
17
18type CharAnimDef = {
19 initial: TargetAndTransition;
20 animate: TargetAndTransition;
21 exit: TargetAndTransition;
22 transition: Transition;
23};
24import { cn } from "@/lib/utils";
25
26// ---------------------------------------------------------------------------
27// Types
28// ---------------------------------------------------------------------------
29
30interface CursorRect {
31 x: number;
32 y: number;
33 width: number;
34 height: number;
35}
36
37type CursorState =
38 | { type: "hidden" }
39 | { type: "caret"; rect: CursorRect }
40 | { type: "selection"; rects: CursorRect[] };
41
42/**
43 * Character entrance/exit animation preset.
44 *
45 * - `spring` — scale + fade with a springy bounce (default)
46 * - `bounce` — exaggerated spring overshoot
47 * - `fade` — simple opacity only
48 * - `slide` — slides up from below
49 * - `wave` — per-char cascading slide (uses CSS delay via index)
50 * - `typewriter` — instant appear/disappear, no animation
51 */
52export type CharAnimation =
53 | "spring"
54 | "bounce"
55 | "fade"
56 | "slide"
57 | "wave"
58 | "typewriter";
59
60/**
61 * Visual style of the cursor caret.
62 *
63 * - `line` — thin vertical bar (default)
64 * - `block` — full-height filled block behind the char
65 * - `underline` — thin horizontal bar beneath the char
66 * - `glow` — line with a blurred glow halo
67 */
68export type CursorVariant = "line" | "block" | "underline" | "glow";
69
70/**
71 * Pre-built visual preset for the input field itself.
72 * Applies a `fieldClassName` baseline that can be overridden.
73 *
74 * - `default` — rounded border on dark bg
75 * - `ghost` — no border, subtle bg
76 * - `outline` — border only, transparent bg
77 * - `filled` — solid neutral fill, no border
78 * - `terminal` — monospace, dark green on near-black
79 * - `minimal` — bottom border only (underline style)
80 * - `pill` — heavily rounded, soft bg
81 */
82export type InputVariant =
83 | "default"
84 | "ghost"
85 | "outline"
86 | "filled"
87 | "terminal"
88 | "minimal"
89 | "pill";
90
91// ---------------------------------------------------------------------------
92// Preset maps
93// ---------------------------------------------------------------------------
94
95const CHAR_ANIMATION_MAP: Record<CharAnimation, CharAnimDef> = {
96// … truncated

What it pulls in

npm packages

  • motion

Facts

Registry
Unlumen Ui
Type
registry:ui
Access
Paid
Files written
0
Licence
MIT
In the index
at or before 2026-08-11
Last confirmed
today

Go to the source

Docs on Unlumen Ui ui.unlumen.com leovvx/unlumen-ui-docs on GitHub Raw registry item This item as JSON

More from Unlumen Ui

All 233 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AI Chatai-chatUnlumen UiComponentsPaid2 deps
Vercel Animate Countanimate-countUnlumen UiComponentsFree1 dep
Animate Digitsanimate-digitsUnlumen UiComponentsFree1 dep
Animated Listanimated-listUnlumen UiComponentsFree1 dep
Apple Switchapple-switchUnlumen UiComponentsFree1 dep
Aurora Barsaurora-barsUnlumen UiComponentsFree1 dep
Aurora Bluraurora-blurUnlumen UiComponentsFree2 deps
Aurora Cardaurora-cardUnlumen UiComponentsPaid2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex