Text with tokens in it, such as a message that mentions people and attaches files. A token is one piece: the caret steps over it, Backspace removes it, and undo, copy and paste keep it whole. It scales in and out of the text, shows a spinner while it loads, and a Trigger menu inside it suggests tokens as you type.
pnpm dlx shadcn@latest add "https://kinoui.com/r/token-input.json"