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


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

``` html
<template>
  <div>
    <tabbar>
      <tabbar-item>
        <img
          slot="icon"
          src="../assets/demo/icon_nav_button.png"
        >
        <span slot="label">Wechat</span>
      </tabbar-item>
      <tabbar-item show-dot>
        <img
          slot="icon"
          src="../assets/demo/icon_nav_msg.png"
        >
        <span slot="label">Message</span>
      </tabbar-item>
      <tabbar-item selected>
        <img
          slot="icon"
          src="../assets/demo/icon_nav_article.png"
        >
        <span slot="label">Explore</span>
      </tabbar-item>
      <tabbar-item>
        <img
          slot="icon"
          src="../assets/demo/icon_nav_cell.png"
        >
        <span slot="label">News</span>
      </tabbar-item>
    </tabbar>
  </div>
</template>

<script>
import { Tabbar, TabbarItem } from '../components/_index'

export default {
  components: {
    Tabbar,
    TabbarItem
  }
}
</script>

```

#### Github Issue