
Isolet Widget Isolation
When you need to drop a React, Svelte, or vanilla JS component onto any page without style collisions or dependency conflicts, this is your tool. It wraps components in shadow DOM with scoped CSS, builds them into script tag widgets or ESM bundles, and handles the tedious parts like data URI inlining for fonts and images. The CLI setup is straightforward and you get proper TypeScript types. Most useful for embeddable widgets, third-party integrations, or internal tools that need to coexist with unknown host page styles. The reactive props API means you can update without remounting, which beats the typical mount-unmount cycle most widget libraries force on you.
- skills.sh installs
- 371
- GitHub stars
- 26
- last updated
- Jun 3, 2026
Install
$ npx -y skills add aradotso/trending-skills --skill isolet-widget-isolation --agent claude-codeInstalls into .claude/skills of the current project.
Files
isolet Widget Isolation
Skill by ara.so — Daily 2026 Skills collection.
isolet-js packages any component (React, Solid, Svelte, vanilla JS, etc.) into a self-contained, isolated widget. Widgets render inside shadow DOM by default, so styles are fully scoped. Output formats include IIFE (script tag), ESM, and CommonJS.
Install
npm install isolet-js
Core API: createIsolet
import { createIsolet } from "isolet-js";
const widget = createIsolet({
name: "my-widget", // required: unique identifier
mount: myMountFn, // required: (container, props) => cleanup | void
css: `h1 { color: red; }`, // optional: scoped CSS
isolation: "shadow-dom", // "shadow-dom" | "scoped" | "none"
shadowMode: "open", // "open" | "closed"
hostAttributes: { "data-widget": "true" },
zIndex: 9999,
});
widget.mount(document.body, { title: "Hello" }); // mount into target
widget.update({ title: "Updated" }); // update props
widget.unmount(); // tear down
Sponsors
Details
- Repository
- github.com/aradotso/trending-skills
- Category
- Frontend Development
- First seen
- Jun 3, 2026
More from aradotso/trending-skills
All 251- Talk Normal Llm Prompt371
- Yourvpndead Vpn Detection364
- Moss Tts Nano Speech361
- Aris Autonomous Ml Research360
- Webphysics Avbd Engine356
- Autoteam Chatgpt Rotation351
- Anything Analyzer Cdp344
- Capso Screenshot Macos340
- Acgti Anime Persona Quiz338
- Cli To Js Api Wrapper336
- Html Ppt Skill336
- Ntwarden Windows Analysis Toolkit336
- Geoflow Content Automation335
- Dflash Mlx Speculative Decoding331
- Palantir For Family Trips325
- Wterm Web Terminal325
- Anubis Android App Manager324
- Nothing Ever Happens Polymarket Bot324
- Openduck Distributed Duckdb321
- Designlang Design Extract318
- Uzi Skill Stock Analyzer318
- Tech Doc Style Chinese316
- Weft Ai Language315
- Hy World 2 0 3d World Model314