Tags

A collection of linked tags.

Props

A Tags component has the following properties:

PropRequiredDescription
valuesyesArray of tagSchema.

Example

<script lang="ts">
	import { Tags } from '$lib/components/index.js';

	const values = [
		{ id: 'avatar', label: 'avatarMetaSchema', path: '/docs/schemas/avatar-meta' },
		{ id: 'post', label: 'postMetaSchema', path: '/docs/schemas/post-meta' },
		{ id: 'tag', label: 'tagMetaSchema', path: '/docs/schemas/tag-meta' }
	];
</script>

<Tags {values} />