Skip to Content
UI Kit
Components (172)

Context Window

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Context Window…

Usage

import { ContextWindow } from "ui-kit/components/context-window";

Props

PropTypeDefaultDescription
parts*ContextPart[]——
limit*number——
titlestring"Context window"—
modelstring——
modelIconReactNode——
onRemoveItem(partId: string, itemId: string) => void——
onCompact(partId: string) => void | Promise<void>——
action{ label: string; onClick: () => void }——
warnAtnumber0.8—
cellsnumber216—
columnsnumber36—
classNamestring——

On this page