acryl-add-ui
Use when an ACRYL extension needs UI in the Web or Desktop app (a button, panel, sidebar tab, settings section, dashboard).
acryldev · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add acryldev/acryl --skill acryl-add-uiAbout this skill
name: acryl-add-ui description: Use when an ACRYL extension needs UI in the Web or Desktop app (a button, panel, sidebar tab, settings section, dashboard).
Add UI to ACRYL (web and desktop)
Read {{pack}}/docs/extending/client-slot.md completely, then the example {{pack}}/examples/packages/client-slot-header-action/ (index.js and client.js).
Key facts: the package has a host half (empty apply) and a browser half client.js exported as "./client" with "dsh.client" in package.json. There is no build step: write client.js by hand inside the window.ModuleLoader.load wrapper, use React.createElement (no JSX, no import), and pick a slot from the table in the doc. Persist state in localStorage or behind a host route. Deliver with acryl_install_plugin and tell the user to reload the page or window.