CompareGrid
Models side by side: one to four equal columns, each with a header, a thread that scrolls on its own and a footer. One column per screen on a phone.
GPT-5, 1 of 3
<div className="h-720 w-full overflow-hidden rounded-well shadow-ring">
<PlaygroundWorkspace initial={answered(["gpt-5", "claude-sonnet-4-5", "gpt-5-mini"], 1)} />
</div>import { CompareGrid } from "@logicplanes/kaeso-ui/playground";Props
activenumberThe column on screen on a phone, or scrolled to when the columns don't fit.
addLabelstringThe add circle's name. Defaults to "Add model" in the provider's language.
aria-labelstringThe grid's accessible name ("Models").
childrenReactNodeCompareGrid.Columnelements, one to four.divider"none" | "hairline" = hairlineA hairline between columns, or none.
maxnumber = 4Columns at most (4 by default): the add circle is disabled there, with the reason in its tooltip.
onActiveChange((index: number) => void)Called with the index of the column in focus.
onAdd(() => void)Adds a column: a circle at the end of the last column's header (and in the phone's switcher).