Components (172)
Context Window
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Context Window…
Usage
import { ContextWindow } from "ui-kit/components/context-window";Props
| Prop | Type | Default | Description |
|---|---|---|---|
parts* | ContextPart[] | — | — |
limit* | number | — | — |
title | string | "Context window" | — |
model | string | — | — |
modelIcon | ReactNode | — | — |
onRemoveItem | (partId: string, itemId: string) => void | — | — |
onCompact | (partId: string) => void | Promise<void> | — | — |
action | { label: string; onClick: () => void } | — | — |
warnAt | number | 0.8 | — |
cells | number | 216 | — |
columns | number | 36 | — |
className | string | — | — |