New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lightningjs/solid-ui

Package Overview
Dependencies
Maintainers
8
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/solid-ui

A shared library of components for the LightningJS Solid Framework.

0.18.18
latest
npm
Version published
Maintainers
8
Created
Source

Solid UI

This library contains shared Lightning/Solid components

Quick Start

If you haven't already, follow the steps found here to bootstrap your lightningjs/solid app.

  • install this package and the base theme with your package manager of choice
npm i @lightningjs/solid-ui @lightningjs/l3-ui-theme-base # or pnpm/yarn
  • add the theme package as an alias in your vite config
// vite.config.js
  resolve: {
    alias: {
      theme: '@lightningjs/l3-ui-theme-base',
    }
  },
  • add the stateMapperHook to your lightningjs/solid Config
// index.jsx
import { mapToneToStateHook } from '@lightningjs/solid-ui';
Config.stateMapperHook = mapToneToStateHook;
  • and finally, use a component
// App.jsx
import { Button } from '@lightningjs/solid-ui';
<App>
  <Button>a button!</Button>
</App>;

FAQs

Package last updated on 10 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts