Extensions
Character Limit
Live character counter with warning state — soft visual feedback
Shows a live character / word counter beneath the editor with a circular progress indicator. Enters warning state as the user approaches the limit. Does not block input — for a hard cap, use Max Length.
Install
pnpm add @typix-editor/extension-character-limitLive demo
Config
| Option | Type | Default | Description |
|---|---|---|---|
limit | number | required | Maximum character count. |
charset | "UTF-8" | "UTF-16" | "UTF-16" | How to count multi-byte chars. |
Vendor the UI
npx typix ui add character-limitCopies <CharacterLimit> + <CharacterLimitCounter> + useCharacterCount
into components/typix/main/character-limit/.