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 套件

分類