<!--
source: https://blueos.niceshare.site/component/table/label/
site: 蓝河文档馆
summary: 为 [input](/243cfb621699ee56fd958427779e1fcb/input.md) 组件定义标注
-->
---
title: 'label'
description: '为 [input](/243cfb621699ee56fd958427779e1fcb/input.md) 组件定义标注'
lastUpdated: 2023-10-20T02:02:06.000Z
---

为 [input](/243cfb621699ee56fd958427779e1fcb/input.md) 组件定义标注

### 子组件

不支持

### 属性

支持[通用属性](/7f1027fb1f5bbd82dc6e706045e05803/common-attributes.md)

| 名称 | 类型 | 默认值 | 必填 | 描述 |
| --- | --- | --- | --- | --- |
| target | `<string>` | \- | 否 | 目标 input 组件 id |

### 样式

支持[通用样式](/component/common/common-styles)

支持[text 样式](/component/basic/text)

### 事件

点击 label 组件，触发 target 绑定 id 的 checkbox 或者 radio 组件点击事件，扩大点击范围
