---
title:TextBox 文本输入框
---
# TextBox 文本输入框
<ClientOnly>
<textBox-simple-demos></textBox-simple-demos>
<textBox-disabled-demos></textBox-disabled-demos>
<textBox-danger-demos></textBox-danger-demos>
<textBox-warning-demos></textBox-warning-demos>
</ClientOnly>

# TextBox Attributes
|参数| 说明 |  类型  | 可选值 | 默认值 |
| :-------------: |:-------------:| :-----:|:-----:|:-----:|
|value| 内容 | string || 
|disabled| 禁用 | boolean || 
|readonly| 只读 | boolean || 
|placeholder| 提示信息 | string || 
|error| 错误信息 | string || 
|warning| 警告信息 | string || 
