What problem does it solve?
This skill enables developers to build plugin UIs quickly by authoring standalone HTML pages that load inside SiYuan as iframes, reducing bundle size and avoiding heavy UI frameworks.
Core Features & Use Cases
- Iframe-based pages are authored in the src/ directory and built into standalone pages that render inside SiYuan, enabling modular interfaces without committing to a full SPA bundle.
- Open UIs with openIframeTab or openIframeDialog, with injected window.pluginSdk (preset or customSdk) and optional theming via data-theme-mode.
- Works with Vanilla JS, Alpine.js, or Vue 3, and can leverage optional styling via hspa-mini.css for rapid UI prototyping.
Quick Start
Create an HTML page under src/ for your feature, wait for pluginSdkReady, then render it with openIframeTab or openIframeDialog.