ngx-prompt-kit
All blocks

Block

Scrollable chat thread

Full back-and-forth thread inside a chat-container. Auto-sticks to the bottom on new turns; scroll up and the floating scroll-button takes you back.

Auto-stick + back-to-bottom button

What does signal() do that BehaviorSubject does not? AI

Synchronous reads and automatic dependency tracking. With a BehaviorSubject you have to subscribe (or call .value) and rebuild your own derived state. With signal() you just read it inside another reactive primitive and the framework wires up the graph.

And computed()? AI

computed() is the read-only sibling. It memoises the last result and only re-runs when one of its source signals changes — perfect for cheaply-derived view state.