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}!`;"
/>1// TODO migrate to server components2// FIXME handles null state poorly3// NOTE revisit once design lock lands
Italic comment lines with colored TODO, FIXME, NOTE, or HACK tags.
Inline :shortcode typing with an autocomplete dropdown showing emoji previews.
Code line with a teammate's blinking caret tinted by tone and a name tag floating above it.
Code line with a rose wavy underline on the offending token above an alert card with message and source code.
Autocomplete popup with a blinking caret up top and a dropdown listing kind-colored tiles, names, and type signatures.
const name = user.prfile.name;Property 'prfile' does not exist on type 'User'.Code line where the offending token gets a colored wavy underline and the diagnostic message renders inline beside it.