Autocomplete popup with a blinking caret up top and a dropdown listing kind-colored tiles, names, and type signatures.
The import and the props worth knowing about, in one place.
import { Editor2 } from "@/components/beste/piece/editor2";
<Editor2
surface="card"
bordered={false}
inverted={false}
prefix="user."
items={[
{
"label": "id",
"kind": "variable",
"detail": "string"
},
{
"label": "name",
"kind": "variable",
"detail": "string",
"active": true
},
{
"label": "email",
"kind": "variable",
"detail": "string"
},
{
"label": "save",
"kind": "function",
"detail": "(): Promise<void>"
}
]}
/>