# Ghost Text

> Cursor-style inline completion — pause and a gray ghost appears ahead of the caret; Tab absorbs it word-by-word, typing through it consumes it.

## Details

- **Slug**: `ghost-text`
- **Tags**: controls, minimal

## Links

- [Registry item](https://uicapsule.com/r/ghost-text.json): install with `npx shadcn@latest add https://uicapsule.com/r/ghost-text.json`
- [Raw source JSON](https://uicapsule.com/api/content/ghost-text): every file, as JSON
- [Bare preview](https://uicapsule.com/preview-frame/ghost-text): the component with no site chrome

## Files (3)

Full contents are in the registry item linked above.

- `/ghost-text.tsx`
- `/package.json`
- `/preview.tsx`

---

[UICapsule](https://uicapsule.com) · [All components](https://uicapsule.com/llms.txt)
