2.0.2 • Published 6 months ago

@pnx-mixtape/tabs v2.0.2

Weekly downloads
38
License
MIT
Repository
github
Last release
6 months ago

@pnx-mixtape/tabs

Documentation and examples: Tabs

Installation

npm install @pnx-mixtape/tabs --save

How to use

CSS

  • PostCSS workflow: @import '@pnx-mixtape/tabs';
  • Native CSS: @import url('dist/tabs.css');
  • Link tag: <link href="dist/tabs.css" rel="stylesheet" type="text/css">

Vanilla JS

  • ES6 import: import Tabs from '@pnx-mixtape/tabs';
  • Script tag: <script src="dist/tabs.js" type="text/javascript"></script>

HTML

<div data-tabs class="tabs">
  <ul class="tab__list">
    <li class="tab_item"><a href="#">Link</a></li>
    <li class="tab_item"><a href="#">Link</a></li>
  </ul>
  <div class="tab__panel">
    <p>Body content.</p>
  </div>
  <div class="tab__panel">
    <p>Body content.</p>
  </div>
</div>
2.0.2

6 months ago

2.0.0-alpha.0

7 months ago

2.0.1

7 months ago

2.0.0

8 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-alpha.1

2 years ago

1.0.0-alpha.0

3 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago