Code line with a rose wavy underline on the offending token above an alert card with message and source code.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor14 } from "@/components/beste/piece/editor14";
<Editor14
prefix="const total = items."
problem="reduce"
suffix="(sum, i) => sum + i.price);"
message="Expected 2 arguments, but got 1."
source="ts(2554)"
/>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.
Sentence with a rose wavy underline on a misspelling and a suggestions dropdown below.
Code line with a teammate's blinking caret tinted by tone and a name tag floating above it.
function greet(name: string): stringReturns a localized greeting for the given name.
@/lib/greet.tsWavy-underlined symbol above a type-hover card showing signature, one-line description, and source path.
const greet = (name: string) => `Hello, ${name}!`;AI Suggestion caption above a code line with a solid prefix, italic muted ghost text, and a blinking caret.
1function·greet(name)·{2→return·`Hello,·${name}!`;3}
Code lines with muted middle-dots for spaces and → glyphs for tabs, revealing indentation.