Thinking Block

Collapsible block showing AI thinking/reasoning with streaming support. Install Thinking Block from the VLLNT UI registry with the shadcn CLI. React Native source for Thinking Block is included in VLLNT UI 0.4.0 for iOS and Android. It is source-only; npm publication is pending.

Supported platforms:WebNative
Report a bug

When to use this in an AI app

Use Thinking Block to reveal an agent's reasoning or scratchpad separately from its final answer. Collapsible plus streaming support keeps the transcript clean while staying transparent.

Browse all AI agent components

Preview

Switch between light and dark to inspect the embedded Storybook preview.

Collapsible block showing AI thinking/reasoning with streaming support. Part of the ai family in VLLNT UI, it ships as a machine-readable registry entry — copy the source directly into your app with the shadcn CLI and own it, no runtime dependency on a component library.

Platform comparison

PlatformDependenciesCapabilities
Web@vllnt/ui@^0.3.0, lucide-reactBrowser rendering, DOM events, and ARIA semantics
Native@vllnt/ui-native, react-nativeNative-adapted interaction and accessibility

Installation

Add Thinking Block to your project with the shadcn CLI. The source lands in your codebase, ready to adapt:

pnpm dlx shadcn@latest add https://ui.vllnt.com/r/thinking-block.json

Source

Stories

Explore every variant and state in the interactive Storybook: