Huge News!Announcing our $40M Series B led by Abstract Ventures.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.12
  • npm
  • Socket score

Version published
Weekly downloads
21
decreased by-25%
Maintainers
8
Weekly downloads
 
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.

  1. 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
  1. add the theme package as an alias in your vite config
// vite.config.js
  resolve: {
    alias: {
      theme: '@lightningjs/l3-ui-theme-base',
    }
  },
  1. add the stateMapperHook to your lightningjs/solid Config
// index.jsx
import { mapToneToStateHook } from '@lightningjs/solid-ui';
Config.stateMapperHook = mapToneToStateHook;
  1. and finally, use a component
// App.jsx
import { Button } from '@lightningjs/solid-ui';
<App>
  <Button>a button!</Button>
</App>;

FAQs

Package last updated on 28 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc