lion/packages/tabs
2020-01-16 15:47:59 +01:00
..
src fix: refactor slot selection 2019-11-15 15:50:18 +01:00
stories feat: improved storybook demos 2020-01-13 13:58:03 +01:00
test fix: refactor slot selection 2019-11-15 15:50:18 +01:00
CHANGELOG.md chore: release new versions 2020-01-13 13:00:46 +00:00
index.js feat(tabs): create tabs component 2019-10-31 10:50:45 +01:00
lion-tabs.js feat(tabs): create tabs component 2019-10-31 10:50:45 +01:00
package.json fix: update storybook and use main.js 2020-01-16 15:47:59 +01:00
README.md feat: improved storybook demos 2020-01-13 13:58:03 +01:00

Tabs

lion-tabs implements tabs view to allow users to quickly move between a small number of equally important views.

Live Demo/Documentation

See our storybook for a live demo and API documentation

How to use

Installation

npm i --save @lion/tabs;

Usage

import '@lion/tabs/lion-tabs.js';
<lion-tabs>
  <button slot="tab">Info</button>
  <p slot="panel">
    Info page with lots of information about us.
  </p>
  <button slot="tab">Work</button>
  <p slot="panel">
    Work page that showcases our work.
  </p>
</lion-tabs>