Skip to content

@labirthermal/webcomponents ​

Framework-independent webcomponents for displaying and analysing thermal images in the browser. They are built with Lit on top of @labirthermal/core.

Installation ​

Install @labirthermal/webcomponents from npm:

sh
npm install @labirthermal/webcomponents

Usage ​

For direct browser use, load the IIFE build with a single <script> tag. For installation through npm, see the command above. More details are in Usage in the browser.

html
<script defer src="https://cdn.jsdelivr.net/npm/@labirthermal/webcomponents@2.0.4/dist/iife/embed.iife.js"></script>

<thermal-file-app thermal="/files/sequence.lrc"></thermal-file-app>

For a visual list of all elements, see the Overview of webcomponents.

Sections ​

Guide ​

App components ​

Self-contained editors that do not need any context providers. See the overview of app components.

UI components ​

General-purpose elements usable anywhere in the DOM. See the overview of UI components.

Context providers ​

Elements exposing the core classes to nested context consumers. See Context providers and consumers.