# ChainOfThoughtPrimitive
URL: /docs/api-reference/primitives/chain-of-thought
Chain of thought primitives for rendering assistant reasoning, step lists, and collapsible disclosure UI in message content.
{/* AUTO-GENERATED PAGE by scripts/generate-api-reference.mts */}
{/* Do not edit manually. */}
For examples and usage patterns, see [ChainOfThought](/docs/primitives/chain-of-thought).
{/* api-reference:start */}
{/* AUTO-GENERATED by scripts/generate-api-reference.mts */}
{/* Do not edit this block manually. */}
## API Reference \[#api-reference]
### Root \[#root]
{ChainOfThoughtPrimitiveDocs.Root?.deprecated && (
This primitive renders a {`<${ChainOfThoughtPrimitiveDocs.Root?.element}>`} element unless asChild is set.
This primitive renders a {`<${ChainOfThoughtPrimitiveDocs.AccordionTrigger?.element}>`} element unless asChild is set.
This primitive renders a {`<${ChainOfThoughtPrimitiveDocs.Parts?.element}>`} element unless asChild is set.