terminal-kit/components/session-content.tsx
$
cat components/session-content.tsx
# session-content
Transcript container with optional streaming reveal and auto-scroll.
when to use — Wrap agent transcript lines inside TerminalWindow. Pair SessionContent with autoScroll for live sessions.
──
examples
projects/main malayvasa/folder
|context13.27%
Thinking
──
component api
SessionContent
Transcript container with optional streaming reveal and auto-scroll. Pair ThinkingIndicator sessionTail for live tail behavior.
PropTypeDefaultDescription
children *ReactNodeTranscript lines to render inside the session.
streamingbooleanfalseReveal children one at a time like a live agent session.
autoScrollbooleanfalseKeep the scroll container pinned to the bottom.
staggernumber0.45Seconds between streamed items when streaming is enabled.
delaynumber0Seconds before the first streamed item appears.
resetKeystring"session"Change to replay the enter sequence.
classNamestringAdditional CSS classes on the session root.
──
install
npx shadcn@latest add "https://www.terminal-kit.com/r/session-content.json"