## Cell ### Install ``` javascript import { Cell, CellGroup } from 'vant'; Vue.component(Cell.name, Cell); Vue.component(CellGroup.name, CellGroup); ``` ### Usage #### Basic Usage :::demo Basic Usage ```html ``` ::: #### Value only :::demo Value only ```html ``` ::: #### Left Icon :::demo Left Icon ```html ``` ::: #### Link :::demo Link ```html ``` ::: #### Advanced Usage :::demo Advanced Usage ```html ``` ::: ### API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | icon | Left Icon | `String` | - | - | | title | Title | `String` | - | - | | value | Right text | `String` | - | - | | label | Description below the title | `String` | - | - | | url | Link | `String` | - | - | | to | Target route of the link, same as to of `vue-router` | `String | Object` | - | - | | replace | If true, the navigation will not leave a history record | `String` | `false` | - | | isLink | Whether to show link icon | `Boolean` | `false` | - | | required | Whether to show required mark | `Boolean` | `false` | - | ### Slot | name | Description | |-----------|-----------| | - | Default slot | | icon | Custom icon | | title | Custom title | | right-icon | Custom right icon |