AI Suggestion caption above a code line with a solid prefix, italic muted ghost text, and a blinking caret.
const greet = (name: string) => `Hello, ${name}!`;Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor8 } from "@/components/beste/piece/editor8";
<Editor8
prefix="const greet = (name: string) => `Hello, "
ghost="${name}!`;"
/>