Skip to content
Nicholas Jitkoff edited this page Feb 14, 2024 · 21 revisions
drawing

widget.vision wiki

Creating a widget.vision link

The basic form for a widget.vision link is: widget-https://example.com

Extra Options

Extra options can be added to the end of a link by adding "#wv?" followed by a query string: widget-https://example.com#wv?size=400x600&zoom=0.5 Note that this can follow a standard fragment index.html#about#wv?..., and will be removed when rendered.

Not all of these options are exposed in the UI, but some may be customized on the backside.

Parameters

key value notes
name string name for widget
icon string system icon name
style string transparent, glass
bg hex background color
fg hex text color
tint hex tint color
size size base size (300x400)
min size min size
max size max size
zoom float zoom level
agent string user agent, mobile, desktop, or custom
vw int viewport width
remove string css selector for items to remove
clear string css selector for items with transparent background
Clone this wiki locally