# svelte-multivalue-box

> `svelte-multivalue-box` gives you ability to select multiple values from a list of choices in a svelte project. The choice from the list of choices can bi searched by typing the input.

Latest version **1.0.2** (published 2020-03-04) · 0 weekly downloads

## Install

```sh
npm install svelte-multivalue-box
pnpm add svelte-multivalue-box
yarn add svelte-multivalue-box
bun add svelte-multivalue-box
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-03-04 |
| First published | 2020-03-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | shaanu1404 |
| Maintainers | shaanu1404 |

## Links

- npm: https://www.npmjs.com/package/svelte-multivalue-box
- Homepage: https://github.com/shaanu1404/svelte-multivalue-box
- npm.io page: https://npm.io/package/svelte-multivalue-box

## Dependencies (1)

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

## Recent versions

- 1.0.2 (latest) — 2020-03-04
- 1.0.0 — 2020-03-03

## README

# svelte-multivalue-box

`svelte-multivalue-box` gives you ability to select multiple values from a list of choices in a svelte project. The choice from the list of choices can bi searched by typing the input.

## Installing svelte-multivalue-box

```bash
npm install svelte-multivalue-box
```

## Using svelte-multivalue-box

```js
<script>
import Box from 'svelte-multivalue-box';

let choices = [// your choices //];
let result;
</script>

<Box subjects={choices} bind:selectedSubjects={result} />
```

You can also set the number of letters to type before the list of choices is visible. Just set a prop `threshold` with number of letters.

```js
<script>
import Box from 'svelte-multivalue-box';

let choices = [// your choices //];
let result;
</script>

<Box subjects={choices} threshold="2" bind:selectedSubjects={result} />
```

Default is 3

## Adding custom placeholder

```js
<script>
import Box from 'svelte-multivalue-box';

let placeholder = "Your placeholder here...";
let choices = [// your choices //];
let result;
</script>

<Box subjects={choices} placeholder={placeholder} bind:selectedSubjects={result} />
```

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