# @fjordline/ui

> UI components for Fjord Line

Latest version **0.0.12** (published 2020-03-16) · 0 weekly downloads

## Install

```sh
npm install @fjordline/ui
pnpm add @fjordline/ui
yarn add @fjordline/ui
bun add @fjordline/ui
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.12 |
| Published | 2020-03-16 |
| First published | 2020-01-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 834.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | asundlihardig, petterkjelkenesktq |

## Links

- npm: https://www.npmjs.com/package/@fjordline/ui
- npm.io page: https://npm.io/package/@fjordline/ui

## Dependencies (1)

- [@storybook/addon-actions](https://npm.io/package/@storybook/addon-actions.md) ^5.3.10

## Recent versions

- 0.0.12 (latest) — 2020-03-16
- 0.0.11 — 2020-03-16
- 0.0.10 — 2020-02-20
- 0.0.9 — 2020-02-20
- 0.0.8 — 2020-02-18
- 0.0.7 — 2020-02-18
- 0.0.6 — 2020-02-18
- 0.0.5 — 2020-02-14
- 0.0.4 — 2020-01-31
- 0.0.3 — 2020-01-31
- 0.0.2 — 2020-01-31

## README

# Fjordline

## Creating new reusable components

To add a new component you have to add a folder and two files:
* src/components/[Component]
  * index.tsx
  * index.stories.tsx

In order for the component to show in storybook you have to add the following line to `src/index.ts` 
```
export { default as [Component] } from './components/[Component]'
```

For your convenience there is a script that does this for you.
```
yarn new [Component]
```
The script can also be used to make several components at once:
```
yarn new Checkbox Toggle Modal
```

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