@paintless/widget
v0.1.0
Published
Paintless floating-button widget — one script tag to embed the capture flow
Downloads
211
Maintainers
Readme
@paintless/widget
The floating Paintless button — one script tag to embed the whole capture flow.
<script src="https://unpkg.com/@paintless/widget/dist/paintless.iife.js"></script>The IIFE build auto-mounts on load. Configure with data attributes — data-host
for paintless dev, data-api and data-key for a self-hosted server,
data-manual to mount it yourself:
import { init } from '@paintless/widget'
init({ api: { url: 'https://paintless.example.com', key: 'pk_live_...' } })Part of Paintless — click an element in a running app, describe the change, let an agent make it. Docs: https://kyechan99.github.io/paintless/
MIT © kyechan99
