⚠️ Forter Web Components are in development. APIs are subject to change without notice. ⚠️
@forter/toggle
🚛 Installation
Forter Web Components are distributed on the npm registry.
To install them to your project, use
npm install --save @forter/toggle
🛠 Usage
After installing, you can prepare them for use in your app without fuss using @pika/web
npx @pika/web
Then import into your app using module tags:
<script type="module" src="/web_modules/@forter/toggle.js"></script>
<fc-button-group></fc-button-group>
Or you can import into your app's modules and use your build process.
import { html, render } from 'lit-html';
import '@forter/toggle';
render(html`<fc-button-group></fc-button-group>`, document.body)