# Tags Empty 1 - Empty state

> Tags dropdown with TagsEmpty message when search returns no matches.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/tags-tags-empty-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/tags-tags-empty-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/tags-tags-empty-1-light-29ccbaea7690c7d2.png
- Registry item: https://shadcnblocks.com/r/tags-tags-empty-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/tags-tags-empty-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `https://www.kibo-ui.com/r/tags.json`

## Files

### `example/tags/tags-empty-1.tsx`

```tsx
"use client";

import { useState } from "react";

import {
  Tags,
  TagsContent,
  TagsEmpty,
  TagsGroup,
  TagsInput,
  TagsItem,
  TagsList,
  TagsTrigger,
} from "@/components/kibo-ui/tags";

export const title = "Empty state";

const tags = [
  { value: "open", label: "Open" },
  { value: "closed", label: "Closed" },
  { value: "pending", label: "Pending" },
];

const Example = () => {
  const [value, setValue] = useState("");

  return (
    <div className="w-full max-w-md">
      <Tags value={value} setValue={setValue}>
        <TagsTrigger />
        <TagsContent>
          <TagsInput placeholder="Search status..." />
          <TagsList>
            <TagsEmpty>No matching tags found.</TagsEmpty>
            <TagsGroup>
              {tags.map((tag) => (
                <TagsItem key={tag.value} value={tag.value}>
                  {tag.label}
                </TagsItem>
              ))}
            </TagsGroup>
          </TagsList>
        </TagsContent>
      </Tags>
    </div>
  );
};

export default Example;
```
