tencent cloud

Tencent Cloud Agent Development Platform

Release Notes and Announcements
Release Notes
Product Announcement
Product Introduction
Product Overview
Advantages
Use Cases
Model Introduction
Purchase Guide
Package Subscription
Previous Version
Getting Started
Agent Application and Its Three Modes
Creating a "Content Summary Assistant" in Standard Mode
Creating a “Webpage Scraping Assistant” in Single Workflow Mode
Creating a “Stand-up Comedy Content Creation Assistant” in Multi-Agent Mode
Operation Guide
Application Development
Workflow
Multi-Agent
Knowledge Base
Widget
Plugin Marketplace
Model List 
Prompt Templates
Application Templates
Platform Management
Business, Workspace and Permissions
API Documentation
History
API Category
Making API Requests
Atomic Capability APIs
Operation Optimization APIs
Document Library APIs
Q&A Database APIs
Knowledge Tag APIs
Application Management APIs
Enterprise Management APIs
Billing APIs
Release Management APIs
Dialogue Endpoint APIs
Data Statistics APIs
Data Types
Error Codes
Application API Documentation
Dialogue API Overview
Dialog API Documentation (WebSocket)
Dialog API Documentation (HTTP SSE)
Image Chat or File Chat (Real-time Document Parsing + Chat)
Offline Document Upload
Tencent Cloud Agent Development Platform Operation COS Guide
ADP Document Parsing Protocol
FAQs
Product FAQs
Technical FAQs
Related Agreements
Tencent Cloud Agent Development Platform Service Level Agreement
Tencent Cloud Agent Development Platform Service Specific Terms
Tencent Cloud Agent Development Platform Privacy Policy
Tencent Cloud Agent Development Platform Data Processing and Security Agreement
Open-Source License Statement
Lighthouse OpenClaw Connector Plugin Service Agreement
Contact Us
Glossary

Text

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-02-03 15:45:05

Component Feature

A component for displaying body text, supporting text dimension, thickness, color, alignment mode, as well as various options like truncation, italic, strikethrough, and editable.

Basic Usage

Define text content by setting value, and control text size with size.
Template example:
<Text value="Hello world" size="md" />
Effect display as follows:




Attribute Description

Property Name
Type
Description
Default value
value
string
Text Content
-
size
"xs" | "sm" | "md" | "lg" | "xl"
text dimension
"md"
color
string
Text color (supports CSS color value)
-
weight
"normal" | "medium" | "semibold" | "bold"
Font thickness
"normal"
textAlign
"start" | "center" | "end"
text alignment
"start"
truncate
boolean
Truncate text that exceeds the length
false
maxLines
number
maximum display lines
-
streaming
boolean
Enable streaming-friendly transition effect
false
italic
boolean
Italic required or not
false
lineThrough
boolean
Whether to display strikethrough
false
width
number | string
text container width
-
minLines
number
Minimum number of rows
-
editable
false | EditableConfig
Whether it is editable and edit configuration
false
Note:
★ Marked with required attribute.

EditableConfig Object

When editable is not false, you can configure the following properties:
Property Name
Type
Description
Default value
name
string
Form Field Name
-
autoFocus
boolean
auto-focus
false
autoSelect
boolean
Automatic selection
false
autoComplete
string
auto-completion property
-
allowAutofillExtensions
boolean
Allow automatic filling expansion
false
pattern
string
Verify regular
-
placeholder
string
Placeholder
-
required
boolean
Required
false
disabled
boolean
Disable or not
false

Important Note

streaming: Once the incremental update is completed, set this attribute to false.
Note: Streaming animation is currently not implemented in basic text components, but planned to be added as an optional feature in a future version.


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan