47 lines
1.4 KiB
Markdown
47 lines
1.4 KiB
Markdown
|
|
[](https://travis-ci.org/PolymerElements/paper-tabs)
|
||
|
|
[](https://beta.webcomponents.org/element/PolymerElements/paper-tabs)
|
||
|
|
|
||
|
|
##<paper-tabs>
|
||
|
|
|
||
|
|
Material design: [Tabs](https://www.google.com/design/spec/components/tabs.html)
|
||
|
|
|
||
|
|
`paper-tabs` makes it easy to explore and switch between different views or functional aspects of
|
||
|
|
an app, or to browse categorized data sets.
|
||
|
|
|
||
|
|
<!---
|
||
|
|
```
|
||
|
|
<custom-element-demo>
|
||
|
|
<template>
|
||
|
|
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
|
||
|
|
<link rel="import" href="paper-tabs.html">
|
||
|
|
<style>
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
display: flex;
|
||
|
|
align-items: flex-end;
|
||
|
|
height: 80px;
|
||
|
|
background: #009688;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
paper-tabs {
|
||
|
|
font-family: 'Roboto', 'Noto', sans-serif;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
width: 100%;
|
||
|
|
text-transform: uppercase;
|
||
|
|
margin-bottom: 1px;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
<next-code-block></next-code-block>
|
||
|
|
</template>
|
||
|
|
</custom-element-demo>
|
||
|
|
```
|
||
|
|
-->
|
||
|
|
```html
|
||
|
|
<paper-tabs selected="0" scrollable>
|
||
|
|
<paper-tab>The first tab</paper-tab>
|
||
|
|
<paper-tab>Tab two</paper-tab>
|
||
|
|
<paper-tab>The third tab</paper-tab>
|
||
|
|
<paper-tab>Fourth tab</paper-tab>
|
||
|
|
</paper-tabs>
|
||
|
|
```
|