Inline Suggestion

AI Suggestion caption above a code line with a solid prefix, italic muted ghost text, and a blinking caret.

AI Suggestion
const greet = (name: string) => `Hello, ${name}!`;

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Editor8 } from "@/components/beste/piece/editor8";

<Editor8
  prefix="const greet = (name: string) => `Hello, "
  ghost="${name}!`;"
/>