NOTE: Solid UI has moved to a new home!
This library contains a suite of themeable UI components written for the SolidJS Lightning Framework. check them out in our storybook docs.
If you haven't already, follow the steps found here to bootstrap your SolidJS Lightning app. Then:
pnpm add @lightningtv/solid-ui @lightningtv/l3-ui-theme-base # or pnpm/yarn
// vite.config.js
resolve: {
alias: {
theme: '@lightningtv/l3-ui-theme-base',
}
},
// App.jsx
import { Button } from '@lightningtv/solid-ui';
<App>
<Button>a button!</Button>
</App>;
If you don't have pnpm
npm install -g pnpm
Run the solid storybook dev environment:
pnpm i
pnpm dev
Run the solid sandbox environment:
pnpm sandbox