crucıble

Telegraph

A self-contained terminal that types a scripted session on its own — macOS window chrome, command lines typing behind a cool prompt sigil with a blinking block caret, output blocks fading in whole, auto-sequenced on scroll-into-view. Real selectable text, single active-line rAF that pauses offscreen, fully static under reduced motion.

cssfree

Installation

CLI

npx shadcn@latest add @crucible/telegraph

Props

PropTypeDefaultDescription
linesTelegraphLine[]a short install/deploy sessionThe scripted session, top to bottom.
titlestring"zsh — ~/my-app"Window title shown in the title bar.
promptstring"$"Default prompt sigil for command lines.
accentstringsky "#7dd3fc"The single cool accent — used for the prompt sigil, the caret glow, and the accent/string tones. Any CSS color.
speednumber1Typing-rate multiplier (and reveal cadence).
startDelaynumber0.3Seconds to wait after scrolling into view before typing begins.
loopbooleanfalseReplay the session on a loop instead of resting at the end.
pausedbooleanfalseFreeze at the fully rendered final transcript, no typing.
Also accepts all props of Omit<React.ComponentPropsWithoutRef<"figure">, "content" | "children">they pass through to the underlying element.

Honors prefers-reduced-motion with a designed static fallback, and passes className through.