Tags

Display submitted tags one by one.

Basic Example

<script>
	import { Tags, TagsDelete, TagsInput, TagsItem } from 'lithesome';

	let tags = $state(['svelte5', 'typescript']);
</script>

<Tags bind:value={tags}>
	{#each tags as tag}
		<TagsItem>
			{tag}
			<TagsDelete />
		</TagsItem>
	{/each}
	<TagsInput />
</Tags>