Think
Display the deep thinking process of the large model.
When to use
- Used to display the deep thinking process of the large model during conversations.
Examples
Basic usage
deep thinking
This is deep thinking content.
Set status
Complete thinking
This is deep thinking content.
Complete thinking
Customize status icon.
Expanded state
deep thinking
This is deep thinking content.
Destroy on collapse
Deep Thinking
This content will be removed from DOM when collapsed and destroyOnHidden is true.
API
ThinkProps
| Prop | Description | Type | Default | Version |
|---|---|---|---|---|
| classNames | CSS class names | Record\<SemanticDOM, string\> | - | - |
| styles | Style | Record\<SemanticDOM, CSSProperties\> | - | - |
| title | Status Text | `VNode | string` | - |
| icon | Status Icon | VNode | - | - |
| loading | Loading | `boolean | VNode` | false |
| defaultExpanded | Default Expand | boolean | true | - |
| expanded | Whether Expanded | boolean | - | - |
| onExpand | Expand Event | (expand: boolean) => void | - | - |
| blink | Blink Mode | boolean | - | - |
| destroyOnHidden | Whether to Destroy Content Node When Hidden | boolean | true | - |
Slots
| Name | Description |
|---|---|
| default | Thinking Content |
| title | Custom Status Text |
| icon | Custom Status Icon |
Semantic DOM
deep thinking
This is deep thinking content.
root
根节点status
状态区content
内容区
Design Token
| Token | Description | Type | Default |
|---|---|---|---|
| colorTextBlinkDefault | Default Typing Animation Color | string | colorTextDescription |
| colorTextBlink | Typing animation color | string | colorTextBase |