---
nav: default
---
### Cell
<img width="100" src="http://qr.topscan.com/api.php?text=demo%2F%23%2Fcomponent%2Fcell"/>
<a href="demo/#/component/cell" target="_blank" style="font-size:12px;color:#888;">demo 原始链接：demo/#/component/cell</a>


---
#### 演示
<div style="width:377px;height:667px;display:inline-block;border:1px dashed #ececec;border-radius:5px;overflow:hidden;">
<iframe src="demo/#/component/cell" width="375" height="667" border="0" frameborder="0"></iframe>
</div>
#### demo 代码

``` html
<template>
  <div>
    <group>
      <cell
        title="My Account"
        value="Protected"
        primary="content"
        is-link
      />
    </group>

    <group title="use is-link to show arrow">
      <cell
        title="Notifications"
        is-link
      />
      <cell
        title="Privacy"
        is-link
      />
      <cell
        title="General"
        is-link
      >
        <img
          slot="icon"
          width="20"
          style="display:block;margin-right:5px;"
          src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAMAAABgZ9sFAAAAVFBMVEXx8fHMzMzr6+vn5+fv7+/t7e3d3d2+vr7W1tbHx8eysrKdnZ3p6enk5OTR0dG7u7u3t7ejo6PY2Njh4eHf39/T09PExMSvr6+goKCqqqqnp6e4uLgcLY/OAAAAnklEQVRIx+3RSRLDIAxE0QYhAbGZPNu5/z0zrXHiqiz5W72FqhqtVuuXAl3iOV7iPV/iSsAqZa9BS7YOmMXnNNX4TWGxRMn3R6SxRNgy0bzXOW8EBO8SAClsPdB3psqlvG+Lw7ONXg/pTld52BjgSSkA3PV2OOemjIDcZQWgVvONw60q7sIpR38EnHPSMDQ4MjDjLPozhAkGrVbr/z0ANjAF4AcbXmYAAAAASUVORK5CYII="
        >
      </cell>
    </group>

    <group title="use flex-star">
      <cell
        title="General"
        :bd-start="bdStart"
        is-link
      >
        <img
          slot="icon"
          width="20"
          style="display:block;margin-right:5px;"
          src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAMAAABgZ9sFAAAAVFBMVEXx8fHMzMzr6+vn5+fv7+/t7e3d3d2+vr7W1tbHx8eysrKdnZ3p6enk5OTR0dG7u7u3t7ejo6PY2Njh4eHf39/T09PExMSvr6+goKCqqqqnp6e4uLgcLY/OAAAAnklEQVRIx+3RSRLDIAxE0QYhAbGZPNu5/z0zrXHiqiz5W72FqhqtVuuXAl3iOV7iPV/iSsAqZa9BS7YOmMXnNNX4TWGxRMn3R6SxRNgy0bzXOW8EBO8SAClsPdB3psqlvG+Lw7ONXg/pTld52BjgSSkA3PV2OOemjIDcZQWgVvONw60q7sIpR38EnHPSMDQ4MjDjLPozhAkGrVbr/z0ANjAF4AcbXmYAAAAASUVORK5CYII="
        >
      </cell>
    </group>

    <group>
      <cell
        title="Notifications"
        value="Enabled"
      />
    </group>

    <group title="use slot for complexed content">
      <cell
        title="slot content"
        :bd-start="bdStart"
      >
        <div slot="value">
          <span style="color: green">Hi, I'm Vux.</span>
        </div>
      </cell>
    </group>

    <group title="isLink is set to true when link exists">
      <cell
        title="Go to Radio"
        link="/component/radio"
        inline-desc="link=&quot;/component/radio&quot;"
      />
      <cell
        title="Go to Demo"
        :link="{path:'/demo'}"
        inline-desc=":link={path:&quot;/demo&quot;}"
      />
      <cell
        title="http link"
        link="https://vux.li"
        inline-desc="link=&quot;https://vux.li&quot;"
      />
    </group>
  </div>
</template>

<script>
import {
  Cell,
  Group
} from '../components/_index'
export default {
  components: {
    Group,
    Cell
  },
  data() {
    return {
      bdStart: true
    }
  }
}
</script>

```

#### Github Issue