@cfware/tabs

Basic page tabs element

Usage no npm install needed!

<script type="module">
  import cfwareTabs from 'https://cdn.skypack.dev/@cfware/tabs';
</script>

README

@cfware/tabs NPM Version

Basic page tabs element

Usage

Import to your application:

import '@cfware/tabs';

Create a tabs element:

<cfware-tabs>
    <div slot="title">Title 1</div>
    <div slot="contents">Tab 1 Contents</div>
    <div slot="title">Title 2</div>
    <div slot="contents">Tab 2 Contents</div>
</cfware-tabs>