Infinite Canvas. Layers. Drag and Drop. Resize. Style. Composable. Performant. Developer-friendly.
<Designer>
<DesignerContent>
<DesignerCanvas />
</DesignerContent>
</Designer>
<DesignerPane showForLayerTypes={["frame"]}>
<ActionFill />
</DesignerPane>
<DesignerPane showForLayerTypes={["frame"]}>
<ActionFill />
<ActionRotate />
</DesignerPane>
const designerAction = useDesignerAction()
designerAction("UNSELECT_ALL")
designerAction("ZOOM_RESET")
const fontColorAction = createLayerCssVarAction("--color", "#000")
const [fontColor, setFontColor] = useLayerCssVarAction(fontColorAction)
<button onClick={() => setFontColor("#fff")}>Click</button>