# Basic Content
# Basic Content Description
| Component | Description | Minimum Version |
|---|---|---|
| icon | Icon | 1.0.0 |
| text | Text | 1.0.0 |
| progress | Progress Bar | 1.0.0 |
| rich-text | Rich Text | 1.0.0 |
# icon
| Property | Type | Default Value | Required | Description | Minimum Version |
|---|---|---|---|---|---|
| type | string | Yes | The type of the icon, valid values: success, success_no_circle, info, warn, waiting, cancel, download, search, clear | 1.0.0 | |
| size | number/string | 23 | No | The size of the icon | 1.0.0 |
| color | string | No | The color of the icon, same as CSS color | 1.0.0 |
# text
| Property | Type | Default Value | Required | Description | Minimum Version |
|---|---|---|---|---|---|
| user-select | boolean | false | No | Whether the text is selectable, this property will make the text node display as inline-block | 3.6.3 |
| enable-native-proxy | boolean | false | No | Effective when user-select is true, after enabling, selecting text will trigger native event proxy | 3.6.3 |
| space | string | No | Display continuous spaces | 2.11.4 | |
| decode | boolean | false | No | Whether to decode | 2.11.4 |
# Valid values for space
| Value | Description | Minimum Version |
|---|---|---|
| ensp | Half the size of a Chinese character space | |
| emsp | The size of a Chinese character space | |
| nbsp | Space size based on font settings |
# progress
| Property | Type | Default Value | Required | Description | Minimum Version |
|---|---|---|---|---|---|
| percent | number | No | Percentage 0~100 | 1.0.0 | |
| show-info | boolean | false | No | Show percentage on the right side of the progress bar | 1.0.0 |
| stroke-width | number/string | 6 | No | The width of the progress bar line | 1.0.0 |
| color | string | #09BB07 | No | Progress bar color (please use activeColor) | 1.0.0 |
| active | boolean | false | No | Animation of the progress bar from left to right | 1.0.0 |
| border-radius | number/string | 0 | No | Corner radius size | 2.11.4 |
| font-size | number/string | 16 | No | Font size of the percentage on the right | 2.11.4 |
| activeColor | string | #09BB07 | No | Color of the selected progress bar | 2.11.4 |
| backgroundColor | string | #EBEBEB | No | Color of the unselected progress bar | 2.11.4 |
| active-mode | string | backwards | No | backwards: Animation plays from the start; forwards: Animation continues from the last end point | 2.11.4 |
| duration | number | 30 | No | Milliseconds required for progress to increase by 1% | 2.11.4 |
| bindactiveend | eventhandle | No | Animation completion event | 2.11.4 |
# rich-text
| Property | Type | Default Value | Required | Description | Minimum Version |
|---|---|---|---|---|---|
| nodes | array/string | [] | No | Node list / HTML String | 1.0.0 |
| space | string | No | Display continuous spaces | 2.11.4 |