Char Limit Indicator
- from @localmode
- by LocalMode
A radial progress ring + n/MAX monospace counter that turns error-colored when over the limit, deriving the percentage internally from charCount + maxLength. Pure SVG, shadcn/CSS-variable themed (not daisyUI). Self-contained — sits beside any length-bounded textarea or PromptInput.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/input-controls/char-limit-indicatorLive preview
No live preview has been built for this component yet.
Registry dependencies1
- @localmode/ui/lib/utils
Packages0
No npm packages are installed with it.
