AI Elements
Provider-aligned compound components for tools, reasoning, previews, and prompt orchestration.
Tool & Confirmation
Approval-aware tool invocations should have a consistent contract whether they come from GenUI or direct runtime tool UI.
Developer details
Start from these files when you need to trace the live implementation.
src/shared/ai-elements/tool.tsx · src/shared/ai-elements/confirmation.tsx
Customer approval is still pending, so publishing stays visibly blocked instead of collapsing into an empty card.
Reasoning & Chain of Thought
Expandable reasoning surfaces should preserve trust and layout stability.
Developer details
Start from these files when you need to trace the live implementation.
src/shared/ai-elements/chain-of-thought.tsx · src/shared/ai-elements/reasoning.tsx
I have enough confidence to extract the project type, but not enough evidence to generate final publish copy until the timeline is confirmed.
Prompt Input
The generic AI Elements prompt-input compound underpins richer app-specific composers.
Developer details
Start from these files when you need to trace the live implementation.
src/shared/ai-elements/prompt-input.tsx
Preview Primitives
Code, image, and JSX previews support rich app outputs without leaving the thread.
Developer details
Start from these files when you need to trace the live implementation.
src/shared/ai-elements/code-block.tsx · src/shared/ai-elements/image-preview.tsx · src/shared/ai-elements/jsx-preview.tsx
{ "status": "ready", "next": "publish"}Inline image preview with expandable affordance.
Publish readiness
Inline JSX preview with real hierarchy and actions.
Upload two more project photos before publishing this portfolio entry.
Persona
Animated personas are optional expression layers, not structural UI.
Developer details
Start from these files when you need to trace the live implementation.
src/shared/ai-elements/persona.tsx
Shell context
Persona lives inside the shell
Keep it as a small accent beside transcript or composer states. It should support the shell rhythm, not replace the shell or become the main focal point.