Mask Token Input
- from @localmode
- by LocalMode
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 badge. Presentational — feeds useFillMask.
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/mask-token-inputLive 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.
