Tags Input

Enter a list of tags as removable chips.

svelte tailwind

Press Enter or , to add a tag, and Backspace (on an empty field) to remove the last one.

Installation

npx lily-svelte@latest add tags-input

Usage

<script lang="ts">
	import { TagsInput } from '$lib/components/ui/tags-input';
 
	let value = $state(['svelte', 'tailwind']);
</script>
 
<TagsInput bind:value placeholder="Add a tag…" />

Built by levish. The source code is available on GitHub.

Quiet by design.