FlowWorkspace
The body of a route editor: the canvas fills the panel under the page header, with an inspector on the right that edits what is selected.
fast
function Editor() {
const [selected, setSelected] = useState<string | null>("primary");
const [primary, setPrimary] = useState("claude-sonnet-4-5");
return <Page selected={selected} onSelect={setSelected} primary={primary} setPrimary={setPrimary} />;
}import { FlowWorkspace } from "@logicplanes/kaeso-ui/flow-canvas";Props
childrenReactNodeThe canvas.
panelReactNodeThe inspector: usually a
FlowWorkspace.Panel.panelLabelstringThe inspector's accessible name as a region, such as "Step settings".
width"default" | "wide" = defaultThe inspector's width from
lg.