Code template with dashed-outline tab stops. Active placeholder tints primary, others stay muted.
The import and the props worth knowing about, in one place.
import { Editor15 } from "@/components/beste/piece/editor15";
<Editor15
prefix="for (let "
placeholders={[
{
"index": 1,
"label": "i",
"active": true
},
{
"index": 2,
"label": "arr"
}
]}
middle=" = 0; $1 < "
suffix=".length; $1++) {}"
/>Row of filename tabs with active styling. Dirty tabs show a sky dot in place of the close button.
1function·greet(name)·{2→return·`Hello,·${name}!`;3}
Code lines with muted middle-dots for spaces and → glyphs for tabs, revealing indentation.
Code line with a teammate's blinking caret tinted by tone and a name tag floating above it.
Start by adding your first block.
Centered editor placeholder with a soft icon tile, headline, hint line, and a recolorable call-to-action pill.