# preact-shadow-root **Repository Path**: mirrors_developit/preact-shadow-root ## Basic Information - **Project Name**: preact-shadow-root - **Description**: 🕴 Render a Preact subtree into the Shadow DOM. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # preact-shadow-root A tiny `` component that renders its children into the Shadow DOM. 🔥 [**JSFiddle Demo**](https://jsfiddle.net/developit/rw72nx24/) ### Usage ```js import Shadow from 'preact-shadow-root' const Demo = () => (
I am rendered into the Shadow DOM.
) ``` In the above demo, only the `
` within `` will be given a red border. --- ### License [MIT License](https://oss.ninja/mit/developit) © [Jason Miller](https://jasonformat.com)