Remoogle
UI Caret
基础动画

UI Caret

@remocn/caret

来自 remocn

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

安装

npx shadcn@latest add @remocn/caret

适用场景

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

规格

时长
120f · 4s
时长类型
固定时长
FPS
30
风格
tech
许可证
MIT

npm 包

分类