Feature 195 - Inline ghost-text completion in an editorPro

An editor mock where grey ghost-text suggestions appear after the caret and are accepted with a Tab keycap pulse, cycling through several sentences, beside a shortcut legend.

About Feature 195

An editor mock where grey ghost-text suggestions appear after the caret and are accepted with a Tab keycap pulse, cycling through several sentences, beside a shortcut legend.

Feature 195 is a pro feature block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 105 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • ai
  • autocomplete
  • editor
  • ghost text
  • keyboard

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/feature-195

Dependencies installed automatically: motion.

Uses: kbd, reveal, utils.

Usage

import Feature195 from "@/components/blocks/feature-195"

export default function Page() {
  return <Feature195 />
}

FAQ