Skip to content

kometolabs/solid-element-example

Repository files navigation

solid-element example

An example project demonstrating how to create a themable Web Component using Solid.js and solid-element.

The theming for the web component implemented using light-dark() CSS function.

The web component is using Shadow DOM.

Demo

Project Structure

Usage

1. Install dependencies

pnpm install

2. Build and start the demo

pnpm start