Loading...
Loading...
Design Dot. Canvas API windowData layouts - JSON element trees, layout, styles, list rendering, conditions, and display formatting.
npx skill4agent add mindreset/dot_skill dot-canvas-designerwindowDatadot-device-openapiwindowDatadot-device-openapiwindowData{
"default": [
{
"type": "div",
"props": {
"tw": "flex flex-col flex-1 bg-white text-black",
"children": "Hello Dot."
}
}
]
}typedivspanimgpropsprops.twprops.styleprops.childrendataget{{get inputData "title" default="-"}}$for$empty$ifAny$then$elseifelsecompareformatDateformatCompactNumbergetimageSrcstripHtmlmathregexMatchflexw-fullh-fullmin-w-0min-h-0overflow-hiddenlineClamptextOverflowwhiteSpacelayoutFulllayoutFull.twlayoutFull.stylereferences/windowdata.mdreferences/examples.md