# svelte-flat

> Flat UI Components with Svelte

Latest version **0.2.0-alpha.7** (published 2017-10-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install svelte-flat
pnpm add svelte-flat
yarn add svelte-flat
bun add svelte-flat
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0-alpha.7 |
| Published | 2017-10-17 |
| First published | 2016-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Jikkai Xiao |
| Maintainers | jikkai |
| Keywords | svelte, flat-ui, components |

## Links

- npm: https://www.npmjs.com/package/svelte-flat
- Repository: https://github.com/jikkai/svelte-flat
- Homepage: https://jikkai.github.io/svelte-flat
- Issues: https://github.com/jikkai/svelte-flat/issues
- npm.io page: https://npm.io/package/svelte-flat

## Dependencies (1)

- [feather-icons](https://npm.io/package/feather-icons.md) ^3.3.0

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 0.2.0-alpha.7 (latest) — 2017-10-17
- 0.2.0-alpha.5 — 2017-10-13
- 0.2.0-alpha.4 — 2017-10-11
- 0.2.0-alpha.3 — 2017-10-09
- 0.2.0-alpha.2 — 2017-10-02
- 0.2.0-alpha.1 — 2017-10-02
- 0.1.5 — 2017-01-05
- 0.1.4 — 2017-01-04
- 0.1.3 — 2017-01-04
- 0.1.2 — 2017-01-04
- 0.0.9 — 2017-01-03
- 0.0.8 — 2016-12-30
- 0.0.7 — 2016-12-29

## README

# Svelte Flat

> A Svelte Flat UI Toolkit for Web.

<p align="center">
  <a href="https://jikkai.github.io/svelte-flat">
    <img alt="Svelte Flat" src="/build/logo.png">
  </a>
</p>

## Installation

```bash
npm i svelte-flat --save
```

## Fully import

```javascript
import Flat from 'svelte-flat'
import 'svelte-flat/lib/theme-default/index.css'
```

## Single import

```javascript
import { Button } from 'svelte-flat'
import 'svelte-flat/lib/theme-default/button.css'
```

## On demand

### Install [`babel-plugin-svelteflat`](https://github.com/jikkai/babel-plugin-svelteflat)

```bash
npm i babel-plugin-svelteflat -D
```

### Config files

edit `.babelrc`.

```json
{
  "plugins": [
    ["svelteflat", [
      {
        "libraryName": "svelte-flat",
        "styleLibraryName": "theme-default"
      }
    ]]
  ]
}
```

Then, if you need Button, you can import it without style,

```bash
import { Button } from 'svelte-flat'
```

## Forked version

[Here](https://github.com/gCombinator/svelte-flat-ui) is a forked version which named `svelte-flat-ui`.

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