| Prop | Type | Default | Description |
|---|---|---|---|
| path | string | — | Path label in the header. |
| progress | number | { value, label?, showValue? } | false | undefined | Header progress bar. Pass false to hide. |
| showTrafficLights | boolean | true | Show macOS-style traffic lights in the header. |
| variant | "dark" | "light" | "dark" | Color theme variant. |
| footer | ReactNode | — | Pinned footer slot — usually Input. |
| header | ReactNode | — | Optional header slot above scroll content. |
| fill | boolean | false | Stretch to fill a fixed-height window and scroll internally. |
| pinScrollBottom | boolean | false | Pin scroll content to the bottom as new lines appear. |
| bodyClassName | string | — | Classes for the inner body layout wrapper. |
| className | string | — | Additional CSS classes on the window shell. |
| ...props | HTMLDivElement | — | Standard div props. |
| Prop | Type | Default | Description |
|---|---|---|---|
| footer | ReactNode | — | Pinned footer slot — usually Input. |
| header | ReactNode | — | Optional header slot above scroll content. |
| pinScrollBottom | boolean | false | Pin scroll content to the bottom as new lines appear. |
| fill | boolean | false | Stretch to fill a fixed-height window and scroll internally. |
npx shadcn@latest add "https://www.terminal-kit.com/r/terminal-window.json"