UI Caret
Primitive

UI Caret

@remocn/caret

From remocn

A blinking text caret — a controlled vertical bar, or a pure motion atom that blinks deterministically from useCurrentFrame.

Install

npx shadcn@latest add @remocn/caret

When to use

Good for
Placing a blinking insertion cursor beside a text node or at the end of a typed string.
Avoid for
You need the full input UX (focus ring, border, value reveal) — use `input` instead, which owns its own caret.

Specs

Length
120f · 4s
Length type
Fixed
FPS
30
Style
tech
License
MIT

npm packages

Categories