---
title: "Tags"
description: "A wrapping row of tags."
---

> Documentation Index
> Fetch the complete documentation index at: https://gistui.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tags

```gistui
root = Tags(Tag("React"), Tag("Vue"), Tag("Svelte"), Tag("Solid"))
```

## Signature

This is the line a model reads in the system prompt.

```gistui
Tags(...Tag)
```

- **Group:** Content
- **Children:** Yes: Tag
- **Positional arguments:** none

## Props

This component takes no props.

## Use your own component

Keep the name and schema, swap what is drawn. The prompt and the model's output do not change.

### React

```tsx
import { ui } from "@gistui/react/ui";

const lib = ui.extend({ Tags: MyTags });
<GistUI library={lib} stream={response.body} />;
```
### Vue

```vue
<GistUI :source="answer" :components="{ Tags: MyTags }" />
```
### Svelte

```svelte
<GistUI source={answer} components={{ Tags: MyTags }} />
```
### Solid

```tsx
<GistUI source={answer()} components={{ Tags: MyTags }} />
```
### Vanilla

```ts
import { ui } from "@gistui/vanilla/ui";

const lib = ui.extend({ Tags: (ctx) => ({ el: myElement(ctx) }) });
```

See [Custom components](/docs/guides/custom-components/) for the full contract. Style hook: `[data-gistui="Tags"]`.

Source: https://gistui.com/docs/components/content/tags/index.mdx
