# demo-wc-card

> Webcomponent demo-wc-card following open-wc recommendations

Latest version **0.1.0** (published 2020-05-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install demo-wc-card
pnpm add demo-wc-card
yarn add demo-wc-card
bun add demo-wc-card
```

## 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.1.0 |
| Published | 2020-05-06 |
| First published | 2020-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | demo-wc-card |
| Maintainers | d4kmor |

## Links

- npm: https://www.npmjs.com/package/demo-wc-card
- Repository: https://github.com/daKmoR/demo-wc-card
- Issues: https://github.com/daKmoR/demo-wc-card/issues
- npm.io page: https://npm.io/package/demo-wc-card

## Dependencies (1)

- [lit-element](https://npm.io/package/lit-element.md) ^2.0.1

## Recent versions

- 0.1.0 (latest) — 2020-05-06
- 0.0.1 — 2020-02-21

## README

# <demo-wc-card\>

A content frame that looks like a card with a back and front side.

```js script
import { html } from 'lit-html';
import './demo-wc-card.js';
```

```js story
export const usage = () => {
  return html`
    <demo-wc-card></demo-wc-card>
  `;
};
```

## Installation

```bash
npm i demo-wc-card
```

## Usage

```js
import 'demo-wc-card/demo-wc-card.js';
```

```html
<demo-wc-card></demo-wc-card>
```

## API

You can provide multiple options to adjust the output like so.

### Header

You can give it a different `header` by providing it as a string

```js preview-story
export const header = () => {
  return html`
    <demo-wc-card .header=${'my new header'}></demo-wc-card>
  `;
};
```

### BackSide

You wanna show the back side first? use the `back-side` as an attribute.

```js preview-story
export const backSide = () => {
  return html`
    <demo-wc-card back-side></demo-wc-card>
  `;
};
```

## Variations

See more variations [here](./docs/variations.md).

```js script
export default {
  title: 'Demo Card/Main',
};
```

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