# chakra-tags-input

> a dynamic tags input component for chakra ui

Latest version **0.3.0** (published 2023-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install chakra-tags-input
pnpm add chakra-tags-input
yarn add chakra-tags-input
bun add chakra-tags-input
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2023-05-16 |
| First published | 2023-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 54.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Deepak Kumar Swami |
| Maintainers | dkswami |
| Keywords | chakra-ui, chakra-tags-input, tags, input, chakra ui tags, input with tags, chakra tags input, react tags input component for chakra ui |

## Links

- npm: https://www.npmjs.com/package/chakra-tags-input
- Repository: https://github.com/dkswami/chakra-tags-input
- Issues: https://github.com/dkswami/chakra-tags-input/issues
- npm.io page: https://npm.io/package/chakra-tags-input

## 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.3.0 (latest) — 2023-05-16
- 0.2.2 — 2023-05-05
- 0.2.1 — 2023-05-04
- 0.2.0 — 2023-05-03
- 0.1.0 — 2023-05-01
- 1.0.0 — 2023-04-30

## README

# Chakra Tags Input Guide

Congrats! You just saved yourself hours of work by using this package for tags input field.
That renders respective tags and and provides an easy interface for removing and adding new tags

## Commands

To install follow these commands :

```bash
npm i chakra-tags-input
yarn add chakra-tags-input
```

## Usage

Here is a simple working react Functional Component for this package :

![](.images/demo-tags-input.gif)

```jsx
import { SyntheticEvent } from 'react';
import { ChakraTagsInput } from "chakra-tags-input";

const TestComponent = () => {
	const [tags, setTags] = useState<string[]>(['test1', 'test2']);

	const handleTagsChange = (
		event: SyntheticEvent,
		tags: string[]
		) =>{
    setTags(tags)
  };

	return(
		<ChakraTagsInput
        tags={tags}
        onTagsChange={handleTagsChange}
      />
	)
}
```

## Demo with all options applied

### [Check it out in this Sandbox](https://codesandbox.io/s/chakra-tags-input-p8bhuz?file=/src/App.tsx)

<br />

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