# sunshine-ui

> A component library, beautiful like sunshine...

Latest version **0.0.8** (published 2021-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install sunshine-ui
pnpm add sunshine-ui
yarn add sunshine-ui
bun add sunshine-ui
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2021-02-22 |
| First published | 2021-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 274.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ivan Chen |
| Maintainers | ivanchenhz |
| Keywords | svelte, tailwindcss |

## Links

- npm: https://www.npmjs.com/package/sunshine-ui
- Repository: https://github.com/ivanchenhz/sunshine-ui
- npm.io page: https://npm.io/package/sunshine-ui

## Dependencies (1)

- [sirv-cli](https://npm.io/package/sirv-cli.md) ^1.0.11

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.0.8 (latest) — 2021-02-22
- 0.0.7 — 2021-02-14
- 0.0.6 — 2021-02-13
- 0.0.5 — 2021-02-12
- 0.0.4 — 2021-02-12
- 0.0.3 — 2021-02-10
- 0.0.2 — 2021-02-08
- 0.0.1 — 2021-02-08

## README

# Sunshine UI

[Demo](https://sunshine-ui.vercel.app/)

Sunshine UI is a component library on top of Svelte and Tailwind CSS, beautiful like sunshine ...

### Installation

To get you started 

```
$ npm install sunshine-ui or yarn add sunshine-ui
```

Then import css style and each component

```js
import 'sunshine-ui/dist/index.css'

import { Avatar, Select } from 'sunshine-ui'
```

For icons, need to copy 'sunshine-ui/dist/heroicons.svg' to your public path, (same as index.html); then could use all the svg icons from (https://heroicons.com/) as following:
```js
<Icon icon="outline--sun" class="tw-w-8 tw-h-8 tw-text-pink-40"></Icon>
<Icon icon="solid--sun" class="tw-text-theme-60"></Icon>
<Icon icon="outline--moon" style="width: 8px; height: 20px"></Icon>
<Icon icon="solid--moon"></Icon>
```
SVG Sprite, the heroicons.svg is a svg sprite, which means would need to load the whole sprite even only used one icon, if matters could try (https://www.npmjs.com/package/purge-svg-sprite) 


### Components

- [x] Avatar
- [x] Card
- [x] Input
- [x] Radio
- [x] Select
- [x] Icon

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