Command palette card with a search bar, ranked results, hint captions, and kbd shortcut pills.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor9 } from "@/components/beste/piece/editor9";
<Editor9
query="format"
commands={[
{
"label": "Format Document",
"hint": "Editor",
"shortcut": [
"⌥",
"⇧",
"F"
]
},
{
"label": "Format Selection",
"hint": "Editor",
"shortcut": [
"⌘",
"K",
"F"
]
},
{
"label": "Reveal in File Explorer",
"hint": "File"
}
]}
/>Settings card with a segmented light / dark / system toggle and icon plus label per option.
Panel listing editor actions with their kbd shortcut combinations on the right.
Code line with a teammate's blinking caret tinted by tone and a name tag floating above it.
export function greet(name: string) {return `Hello, ${name}!`;}// Ship it
Theme-adaptive editor window with traffic-light header, filename, and a tokenized code body.
Document outline with colored kind tiles for class, function, method, and prop. Depth-indented with an active row.
Minimal focus card with a focus icon, current filename, and an exit-shortcut reminder.