# @lightningtv/solid-ui

> A shared library of components for the LightningJS Solid Framework.

Latest version **1.0.0** (published 2024-11-12) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @lightningtv/solid-ui
pnpm add @lightningtv/solid-ui
yarn add @lightningtv/solid-ui
bun add @lightningtv/solid-ui
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-11-12 |
| First published | 2024-06-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 686.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Maintainers | anthony9187, erautenberg, chiefcll |

## Links

- npm: https://www.npmjs.com/package/@lightningtv/solid-ui
- Repository: https://github.com/rdkcentral/solid-ui
- Homepage: https://github.com/rdkcentral/solid-ui#readme
- Issues: https://github.com/rdkcentral/solid-ui/issues
- npm.io page: https://npm.io/package/@lightningtv/solid-ui

## Dependencies (2)

- [@lightningjs/renderer](https://npm.io/package/@lightningjs/renderer.md) ^2.5.1
- [@solid-primitives/refs](https://npm.io/package/@solid-primitives/refs.md) ^1.0.8

## Recent versions

- 1.0.0 (latest) — 2024-11-12
- 0.23.0-rc1 (next) — 2024-08-13
- 0.33.0 — 2024-11-12
- 0.32.0 — 2024-11-11
- 0.31.4 — 2024-11-11
- 0.31.3 — 2024-11-11
- 0.31.2 — 2024-11-08
- 0.31.1 — 2024-10-30
- 0.31.0 — 2024-10-29
- 0.30.4 — 2024-10-25
- 0.30.3 — 2024-10-25
- 0.30.2 — 2024-10-21
- 0.30.1 — 2024-10-21
- 0.30.0 — 2024-10-09
- 0.29.11 — 2024-10-07
- … 36 more at https://npm.io/package/@lightningtv/solid-ui/versions

## README

# Solid UI

This library contains a suite of [themeable](THEMING.md) UI components written for the [SolidJS Lightning](https://github.com/lightning-tv/solid) Framework. check them out in our [storybook docs](https://rdkcentral.github.io/solid-ui/).

[![npm version](https://img.shields.io/npm/v/@lightningtv%2Fsolid-ui.svg?style=flat)](https://www.npmjs.com/package/@lightningtv/solid-ui)

## Getting Started

If you haven't already, follow the steps found [here](https://github.com/lightning-tv/solid) to bootstrap your SolidJS Lightning app. Then:

1. install this package and the base theme with your package manager of choice

```sh
pnpm add @lightningtv/solid-ui @lightningtv/l3-ui-theme-base # or npm/yarn
```

2. add the theme package as an alias in your vite config(see the [theming docs](THEMING.md) for more information on this)

```js
// vite.config.js
  resolve: {
    alias: {
      theme: '@lightningtv/l3-ui-theme-base',
    }
  },
```

3. and finally, use a component

```jsx
// App.jsx
import { Button } from '@lightningtv/solid-ui';
<App>
  <Button>a button!</Button>
</App>;
```

## Reporting a Bug

If you come across a bug in this library, please open an [issue](https://github.com/rdkcentral/solid-ui/issues) with a detailed description of what you've encountered

## Development

If you don't have pnpm

```sh
npm install -g pnpm
```

Run the solid storybook dev environment:

```sh
pnpm i
pnpm dev
```

## Theming

Theming in the context of solid-ui is a system for providing a set of values to control the look and feel of the components. Head over to our [theming documentation](THEMING.md) for more information

---
_Source: https://npm.io/package/@lightningtv/solid-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
