Mask Token Input
A fill-mask / cloze textarea that detects a configurable mask token (default [MASK]), shows an inline highlighted preview of the mask span, a 'detected' vs 'Add [MASK]' validation hint, a randomize/sample button, and a Cmd+Enter submit badg.

- Library
- LocalMode
- Framework
- React
- Type
- component
- License
- MIT
- Install
npx shadcn add @localmode/ui/ui/input-controls/mask-token-input- Files
apps/ui/registry/localmode/input-controls/mask-token-input/mask-token-input.tsxapps/ui/src/lib/utils.ts
- Source
- https://github.com/LocalMode-AI/LocalMode
Categories
- Input Components
- React Input Components
- Tailwind CSS Input Components
- Text Components
- React Text Components
- Tailwind CSS Text Components
- Text Highlight Components
- React Text Highlight Components
- Tailwind CSS Text Highlight Components
- Textarea Components
- React Textarea Components
- Tailwind CSS Textarea Components