This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@lightningjs/solid-ui

0.18.18 • Public • Published

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>;

Versions

Current Tags

VersionDownloads (Last 7 Days)Published

Version History

VersionDownloads (Last 7 Days)Published

Package Sidebar

Install

npm i @lightningjs/solid-ui

Weekly Downloads

97

Version

0.18.18

License

Apache-2.0

Unpacked Size

2.13 MB

Total Files

133

Last publish

Collaborators

  • anthony9187
  • erautenberg
  • erikhaandrikman
  • foxtrotwhiskey9
  • jfboeve
  • michielvandergeest
  • uguraslan
  • wouterlucas