@tectly/widget
v0.4.0
Published
Embeddable Tectly floor plan editor widget.
Downloads
209
Maintainers
Readme
Tectly Widget
Tectly is an AI-powered floor-plan recognition service that can ingest virtually any floor plan format (scans, JPGs, PDFs, CAD files, or hand sketches) and automatically extract structural elements like walls, rooms, doors, windows, and measurements. It lets you edit the generated geometry in a browser, and offers export of structured building data (JSON, CSV, Excel) as well as integration via a REST API, SDKs, or embeddable web widget.
The Tectly Widget package allows you to easily embed a Tectly Widget into your web page.
Installation & Usage
NPM
Install with NPM using npm i @tectly/widget.
Getting Started
// Given this markup: <div id="tectly-widget"></div>
import { TectlyWidget } from "@tectly/widget";
const projectScopedToken = "my.session.token"; // From /projects/{projectId}/issue-session-token
const tectly = new TectlyWidget({ token: projectScopedToken });
tectly.start(document.getElementById("tectly-widget"));Documentation
For a complete overview of the Tectly Widget please visit the Tectly Widget Docs.
