@fluid-topics/ft-tabs
v1.1.99
Published
Generic tabs component
Downloads
2,862
Readme
A tabs component.
Install
npm install @fluid-topics/ft-tabs
yarn add @fluid-topics/ft-tabs
Usage
import { html } from "lit"
import "@fluid-topics/ft-tabs"
function render() {
return html`
<ft-tabs>
<ft-tab label="tab one" icon="accessibility">
<p>Content 1</p>
</ft-tab>
<ft-tab label="tab two" icon="exit_to_app">
<p>Content 2</p>
</ft-tab>
<ft-tab label="tab three" icon="camera">
<p>Content 3</p>
</ft-tab>
</ft-tabs>
`
}