# Thread List (/docs/agent-ui/components/thread-list)

Use a thread list beside a [conversation](./conversation.mdx) to move between chats. Each chat is a link, grouped under Pinned, then by when it last changed, with a More button that opens its menu. **New chat** sits above the list.

<Example caption="Press a chat to open it, or press its More button to rename, pin or delete it. Focus a chat and press F2 to rename it in place, or the arrow keys to move between chats.">
  <ThreadListExample />

  ```tsx tab="React"
  "use client";
  import type { Thread } from "@kind-ui/agent-ui";
  import { useState } from "react";
  import { ThreadList } from "@/components/ui/thread-list";

  const now = "2026-11-18T12:00:00Z";

  const initialThreads: Thread[] = (
    [
      { id: "release", title: "Release checklist", updatedAt: "2026-11-10T09:00:00Z", pinned: true },
      { id: "style", title: "Style guide notes", updatedAt: "2026-10-02T15:00:00Z", pinned: true },
      { id: "login", title: "Fix the login redirect", updatedAt: "2026-11-18T10:30:00Z", status: "running" },
      { id: "launch", title: "Draft the launch post", updatedAt: "2026-11-18T08:00:00Z", unread: true },
      { id: "query", title: "Speed up the search query", updatedAt: "2026-11-18T07:15:00Z" },
      { id: "build", title: "Why the build is slow", updatedAt: "2026-11-17T16:00:00Z" },
      { id: "tests", title: "Flaky checkout tests", updatedAt: "2026-11-17T09:20:00Z" },
      { id: "offsite", title: "Plan the offsite", updatedAt: "2026-11-14T12:00:00Z" },
      { id: "pricing", title: "Compare pricing tiers", updatedAt: "2026-11-13T18:40:00Z" },
      { id: "onboarding", title: "Onboarding email copy", updatedAt: "2026-11-12T11:00:00Z" },
      { id: "schema", title: "Migrate the user schema", updatedAt: "2026-09-21T14:00:00Z" },
      { id: "retro", title: "Sprint retro summary", updatedAt: "2026-09-08T10:00:00Z" },
    ] satisfies Thread[]
  ).map((thread) => ({ ...thread, href: `#${thread.id}` }));

  export default function ThreadListExample() {
    const [threads, setThreads] = useState(initialThreads);
    const [current, setCurrent] = useState("login");
    const update = (id: string, change: Partial<Thread>) =>
      setThreads((threads) => threads.map((thread) => (thread.id === id ? { ...thread, ...change } : thread)));

    return (
      <div style={{ height: 420, width: 280 }}>
        <ThreadList
          threads={threads}
          value={current}
          now={now}
          onSelect={(id, details) => {
            details.cancel();
            setCurrent(id);
            update(id, { unread: false });
          }}
          onNew={() => {
            const id = crypto.randomUUID();
            setThreads((threads) => [{ id, title: "New chat", updatedAt: now, href: `#${id}` }, ...threads]);
            setCurrent(id);
          }}
          onRename={(id, { title }) => update(id, { title })}
          onPinChange={(id, { pinned }) => update(id, { pinned })}
          onDelete={(id) => setThreads((threads) => threads.filter((thread) => thread.id !== id))}
        />
      </div>
    );
  }
  ```

  ```vue tab="Vue"
  <script setup lang="ts">
  import type { Thread } from "@kind-ui/agent-ui";
  import { ref, shallowRef } from "vue";
  import { ThreadList } from "@/components/ui/vue/thread-list";

  const now = "2026-11-18T12:00:00Z";

  const initialThreads: Thread[] = (
    [
      { id: "release", title: "Release checklist", updatedAt: "2026-11-10T09:00:00Z", pinned: true },
      { id: "style", title: "Style guide notes", updatedAt: "2026-10-02T15:00:00Z", pinned: true },
      { id: "login", title: "Fix the login redirect", updatedAt: "2026-11-18T10:30:00Z", status: "running" },
      { id: "launch", title: "Draft the launch post", updatedAt: "2026-11-18T08:00:00Z", unread: true },
      { id: "query", title: "Speed up the search query", updatedAt: "2026-11-18T07:15:00Z" },
      { id: "build", title: "Why the build is slow", updatedAt: "2026-11-17T16:00:00Z" },
      { id: "tests", title: "Flaky checkout tests", updatedAt: "2026-11-17T09:20:00Z" },
      { id: "offsite", title: "Plan the offsite", updatedAt: "2026-11-14T12:00:00Z" },
      { id: "pricing", title: "Compare pricing tiers", updatedAt: "2026-11-13T18:40:00Z" },
      { id: "onboarding", title: "Onboarding email copy", updatedAt: "2026-11-12T11:00:00Z" },
      { id: "schema", title: "Migrate the user schema", updatedAt: "2026-09-21T14:00:00Z" },
      { id: "retro", title: "Sprint retro summary", updatedAt: "2026-09-08T10:00:00Z" },
    ] satisfies Thread[]
  ).map((thread) => ({ ...thread, href: `#${thread.id}` }));

  const threads = shallowRef(initialThreads);
  const current = ref("login");

  const update = (id: string, change: Partial<Thread>) => {
    threads.value = threads.value.map((thread) => (thread.id === id ? { ...thread, ...change } : thread));
  };

  function onSelect(id: string, details: { cancel(): void }) {
    details.cancel();
    current.value = id;
    update(id, { unread: false });
  }

  function onNew() {
    const id = crypto.randomUUID();
    threads.value = [{ id, title: "New chat", updatedAt: now, href: `#${id}` }, ...threads.value];
    current.value = id;
  }

  const onRename = (id: string, { title }: { title: string }) => update(id, { title });
  const onDelete = (id: string) => {
    threads.value = threads.value.filter((thread) => thread.id !== id);
  };
  </script>

  <template>
    <div :style="{ height: '420px', width: '280px' }">
      <ThreadList
        :threads="threads"
        :value="current"
        :now="now"
        :on-rename="onRename"
        :on-delete="onDelete"
        @select="onSelect"
        @new="onNew"
        @pin-change="(id: string, { pinned }: { pinned: boolean }) => update(id, { pinned })"
      />
    </div>
  </template>
  ```

  ```svelte tab="Svelte"
  <script lang="ts">
    import type { Thread } from "@kind-ui/agent-ui";
    import { ThreadList } from "@/components/ui/svelte/thread-list/index.js";

    const now = "2026-11-18T12:00:00Z";

    const initialThreads: Thread[] = (
      [
        { id: "release", title: "Release checklist", updatedAt: "2026-11-10T09:00:00Z", pinned: true },
        { id: "style", title: "Style guide notes", updatedAt: "2026-10-02T15:00:00Z", pinned: true },
        { id: "login", title: "Fix the login redirect", updatedAt: "2026-11-18T10:30:00Z", status: "running" },
        { id: "launch", title: "Draft the launch post", updatedAt: "2026-11-18T08:00:00Z", unread: true },
        { id: "query", title: "Speed up the search query", updatedAt: "2026-11-18T07:15:00Z" },
        { id: "build", title: "Why the build is slow", updatedAt: "2026-11-17T16:00:00Z" },
        { id: "tests", title: "Flaky checkout tests", updatedAt: "2026-11-17T09:20:00Z" },
        { id: "offsite", title: "Plan the offsite", updatedAt: "2026-11-14T12:00:00Z" },
        { id: "pricing", title: "Compare pricing tiers", updatedAt: "2026-11-13T18:40:00Z" },
        { id: "onboarding", title: "Onboarding email copy", updatedAt: "2026-11-12T11:00:00Z" },
        { id: "schema", title: "Migrate the user schema", updatedAt: "2026-09-21T14:00:00Z" },
        { id: "retro", title: "Sprint retro summary", updatedAt: "2026-09-08T10:00:00Z" },
      ] satisfies Thread[]
    ).map((thread) => ({ ...thread, href: `#${thread.id}` }));

    let threads = $state.raw(initialThreads);
    let current = $state("login");
    const update = (id: string, change: Partial<Thread>) =>
      (threads = threads.map((thread) => (thread.id === id ? { ...thread, ...change } : thread)));
  </script>

  <div style="height: 420px; width: 280px">
    <ThreadList
      {threads}
      value={current}
      {now}
      onSelect={(id: string, details: { cancel(): void }) => {
        details.cancel();
        current = id;
        update(id, { unread: false });
      }}
      onNew={() => {
        const id = crypto.randomUUID();
        threads = [{ id, title: "New chat", updatedAt: now, href: `#${id}` }, ...threads];
        current = id;
      }}
      onRename={(id: string, { title }: { title: string }) => update(id, { title })}
      onPinChange={(id: string, { pinned }: { pinned: boolean }) => update(id, { pinned })}
      onDelete={(id: string) => (threads = threads.filter((thread) => thread.id !== id))}
    />
  </div>
  ```

  ```tsx tab="Solid"
  import type { Thread } from "@kind-ui/agent-ui";
  import { createSignal } from "solid-js";
  import { ThreadList } from "@/components/ui/solid/thread-list";

  const now = "2026-11-18T12:00:00Z";

  const initialThreads: Thread[] = (
    [
      { id: "release", title: "Release checklist", updatedAt: "2026-11-10T09:00:00Z", pinned: true },
      { id: "style", title: "Style guide notes", updatedAt: "2026-10-02T15:00:00Z", pinned: true },
      { id: "login", title: "Fix the login redirect", updatedAt: "2026-11-18T10:30:00Z", status: "running" },
      { id: "launch", title: "Draft the launch post", updatedAt: "2026-11-18T08:00:00Z", unread: true },
      { id: "query", title: "Speed up the search query", updatedAt: "2026-11-18T07:15:00Z" },
      { id: "build", title: "Why the build is slow", updatedAt: "2026-11-17T16:00:00Z" },
      { id: "tests", title: "Flaky checkout tests", updatedAt: "2026-11-17T09:20:00Z" },
      { id: "offsite", title: "Plan the offsite", updatedAt: "2026-11-14T12:00:00Z" },
      { id: "pricing", title: "Compare pricing tiers", updatedAt: "2026-11-13T18:40:00Z" },
      { id: "onboarding", title: "Onboarding email copy", updatedAt: "2026-11-12T11:00:00Z" },
      { id: "schema", title: "Migrate the user schema", updatedAt: "2026-09-21T14:00:00Z" },
      { id: "retro", title: "Sprint retro summary", updatedAt: "2026-09-08T10:00:00Z" },
    ] satisfies Thread[]
  ).map((thread) => ({ ...thread, href: `#${thread.id}` }));

  export default function ThreadListExample() {
    const [threads, setThreads] = createSignal(initialThreads);
    const [current, setCurrent] = createSignal("login");
    const update = (id: string, change: Partial<Thread>) =>
      setThreads((list) => list.map((thread) => (thread.id === id ? { ...thread, ...change } : thread)));

    return (
      <div style={{ height: "420px", width: "280px" }}>
        <ThreadList
          threads={threads()}
          value={current()}
          now={now}
          onSelect={(id, details) => {
            details.cancel();
            setCurrent(id);
            update(id, { unread: false });
          }}
          onNew={() => {
            const id = crypto.randomUUID();
            setThreads((list) => [{ id, title: "New chat", updatedAt: now, href: `#${id}` }, ...list]);
            setCurrent(id);
          }}
          onRename={(id, { title }) => update(id, { title })}
          onPinChange={(id, { pinned }) => update(id, { pinned })}
          onDelete={(id) => setThreads((list) => list.filter((thread) => thread.id !== id))}
        />
      </div>
    );
  }
  ```
</Example>

## Installation [#installation]

```bash tab="React"
npx shadcn@latest add @kind-ui/thread-list
```

```bash tab="Web Components"
npx shadcn@latest add @kind-ui/thread-list-web
```

```bash tab="Vue"
npx shadcn@latest add @kind-ui/thread-list-vue
```

```bash tab="Svelte"
npx shadcn@latest add @kind-ui/thread-list-svelte
```

```bash tab="Solid"
npx shadcn@latest add @kind-ui/thread-list-solid
```

## Composition [#composition]

```text
ThreadList
├── ThreadListNew
├── ThreadListViewport
│   ├── ThreadListGrid
│   │   ├── ThreadListHeading
│   │   └── ThreadListRow
│   │       └── ThreadListLink
│   └── ThreadListEnd
│       └── ThreadListRetry
├── ThreadListMenu
│   └── ThreadListMenuContent
└── ThreadListDialog
    ├── ThreadListDialogError
    ├── ThreadListDialogCancel
    └── ThreadListDialogDelete
```

`ThreadList` renders these parts when you pass no children: a `nav` named by its `label`. `ThreadListNew` is the **New chat** button. `ThreadListViewport` scrolls the rows, and `ThreadListGrid` renders a `ThreadListHeading` for each group and a `ThreadListRow` for each chat in view. A row holds the chat's `ThreadListLink`, with its title, status and unread marks, how long ago it changed, and its More button. Pass a row a function of its link's `{ value, title }`, defined once outside a render, to replace what its link shows. `ThreadListEnd` shows after the rows while older chats load. `ThreadListMenu` is UI SDK's Menu, one for every row, and `ThreadListDialog` is the Alert Dialog that asks before a delete.

## Usage [#usage]

### Threads [#threads]

Pass `threads`, each with an `id` and a `title`, and optionally an `href`, an `updatedAt` (an ISO date-time), `pinned`, a `group`, a `status` and `unread`. With an `href`, a chat's row is a real link, so it opens in a new tab like any other. A `status` of `running`, `awaiting-input` or `error` shows the status mark, named "Running", "Needs input" or "Failed", and `unread` shows a dot named "Unread". A long title is cut short with an ellipsis, and the link's name is the whole title.

Each row ends in how long ago its `updatedAt` was, in a few characters: "now", "5m", "2h", "3d", then the date, like "Nov 2". The time is for the eye only, since the row's group already says when, so a screen reader reads the title alone. On hover, on focus and while its menu is open, the row's More button takes the time's place, and on touch screens More always shows instead.

Pass the current chat's `id` as `value`, and its link gets `aria-current="page"`. You own `value`, as your router owns the route.

### Groups [#groups]

Pinned chats come first, under **Pinned**. Then chats with a `group` gather under it, in the order each group first appears, like a project or a folder. The rest gather by `updatedAt`: **Today**, **Yesterday**, **Previous 7 days**, **Previous 30 days**, then each month this year, then each year. Inside a group, chats keep the order you pass.

Groups and times depend on the clock, so pass `now` (an ISO date or date-time) when the server renders the list, or its markup and the browser's may group the chats apart. Without `now`, server markup shows each row's date, and the browser counts from its own clock once the list mounts, again each minute. Set `timeZone` to decide which day a chat falls on (UTC by default), `locale` for the month and year names, and `groupLabels` to replace the fixed words, like `{ today: "Aujourd'hui" }`.

### Opening a Chat [#opening-a-chat]

A plain click on a link, or Enter, calls `onSelect` with the chat's `id`. Call `details.cancel()` to route inside your app instead; otherwise the link follows its `href`. A click with a modifier key opens the link elsewhere and doesn't call `onSelect`.

```tsx
<ThreadList
  threads={threads}
  value={chatId}
  onSelect={(id, details) => {
    details.cancel();
    router.push(`chats/${id}`);
  }}
/>
```

Pass `onNew` to show **New chat**, which calls it with `details.source` saying how it was pressed. Adding the chat and opening it is yours to do.

### The Row Menu [#the-row-menu]

The More button opens the row's menu, and so do a right-click or a long press on its link, Shift+F10 and the context-menu key. It offers **Rename** with `onRename`, **Pin** or **Unpin** with `onPinChange`, **Share** with `onShare` and **Delete** with `onDelete`, each only while its callback is set. Without any of them, rows have no More button.

**Rename** turns the title into a text field. Enter saves and Escape cancels, and an empty title doesn't save. `onRename` gets the chat's `id` and `details.title`, and the row keeps showing your `title` until you change it. Return a promise to keep renaming locked until it settles; a rejection is announced as "Chat not renamed". F2 on a focused link renames it too.

**Pin** and **Unpin** call `onPinChange` with what the chat should become in `details.pinned`. **Share** calls `onShare`.

The menu opens as a popover beside the More button. With `presentation="auto"`, the default, it's a bottom sheet on small touch screens; pass `"popover"` or `"sheet"` to choose one. Under `prefers-reduced-motion`, or with `motion="reduced"`, it only fades, and with `motion="none"` it opens at once.

### Deleting [#deleting]

**Delete** opens a dialog that asks "Delete chat?" with the chat's title, focused on **Cancel**. Only the dialog's **Delete** calls `onDelete`, with `details.source`. Return a promise to keep the dialog open until it settles, with both answers disabled and Escape waiting. When it resolves, the dialog closes. A rejection keeps it open with "Couldn't delete. Try again." beside the answers, and screen readers hear "Chat not deleted".

Set `confirmDelete={false}` to skip the dialog when you offer Undo instead. Either way, once the chat leaves `threads`, focus moves to the next row, else the one before it, else **New chat**.

### Keyboard [#keyboard]

The list is one Tab stop. Up Arrow and Down Arrow move between chats, skipping headings, and Left Arrow and Right Arrow move between a chat's link and its More button, mirrored in right-to-left. Home and End go to either end of the row, Ctrl+Home and Ctrl+End (Cmd on a Mac) to the first and last chat, and Page Up and Page Down by a screenful. Typing the first letters of a title moves to it.

### Long Histories [#long-histories]

Only the rows in view render, at a fixed height of `--kind-thread-row-height` (36px), so a list of thousands scrolls like a short one. Set `hasMore` and pass `onLoadMore` to load older chats: it's called once as the list nears its end, with `details.reason` set to `end-reached`. While they load, set `status="loading"` to show "Loading more chats" after the rows. If loading fails, set `status="error"` to show "Couldn't load more chats" and **Retry**, which calls `onLoadMore` again with `retry-press`.

## API Reference [#api-reference]

### ThreadListOptions

| Prop             | Type                                                                                                   | Description                                                                                                                                                                                                                                                                                                 |
| ---------------- | ------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `presentation?`  | `"auto" \| "popover" \| "sheet"`                                                                       | How the menu presents. `"auto"` is a bottom sheet on small touch screens and a popover elsewhere. Default: `"auto"`                                                                                                                                                                                         |
| `motion?`        | `"auto" \| "none" \| "reduced"`                                                                        | How the menu opens and closes. `"auto"` follows `prefers-reduced-motion`. Default: `"auto"`                                                                                                                                                                                                                 |
| `threads?`       | `Thread[] \| undefined`                                                                                | The threads, in the host's order inside each group. Ids are unique and don't start with `heading:`, which group headings' row keys use. Default: `[]`                                                                                                                                                       |
| `value?`         | `string \| null \| undefined`                                                                          | The current thread's id, marked `aria-current="page"`. The host owns it, as a route is.                                                                                                                                                                                                                     |
| `label?`         | `string \| undefined`                                                                                  | Names the list. Default: `"Chats"`                                                                                                                                                                                                                                                                          |
| `onSelect?`      | `((id: string, details: ChangeDetails<ThreadListReason>) => void) \| undefined`                        | Called when a person follows a thread's link, or on `select`. Cancel it to route without navigating.                                                                                                                                                                                                        |
| `onNew?`         | `((details: ActionDetails) => void) \| undefined`                                                      | Called by New chat, which shows while it's set. `details.source` says who pressed it.                                                                                                                                                                                                                       |
| `onRename?`      | `((id: string, details: ActionDetails & { title: string; }) => unknown) \| undefined`                  | Called when a person renames a thread in place, with the new title in `details.title`. The title shown stays the host's: return a promise to lock renaming until it settles. A rejection is announced.                                                                                                      |
| `onPinChange?`   | `((id: string, details: ChangeDetails<ThreadListReason> & { pinned: boolean; }) => void) \| undefined` | Called by Pin and Unpin, with what the thread should become in `details.pinned`.                                                                                                                                                                                                                            |
| `onShare?`       | `((id: string, details: ChangeDetails<ThreadListReason>) => void) \| undefined`                        | Called by Share.                                                                                                                                                                                                                                                                                            |
| `onDelete?`      | `((id: string, details: ActionDetails) => unknown) \| undefined`                                       | Called by the dialog's Delete, or by Delete when `confirmDelete` is off. Return a promise to keep the dialog open until it settles: a rejection keeps it open with an error.                                                                                                                                |
| `confirmDelete?` | `boolean \| undefined`                                                                                 | Whether Delete asks first, in a dialog. Turn it off when the host offers Undo instead. Default: `true`                                                                                                                                                                                                      |
| `hasMore?`       | `boolean \| undefined`                                                                                 | Whether there are older threads to load. Default: `false`                                                                                                                                                                                                                                                   |
| `onLoadMore?`    | `((details: { reason: ThreadListLoadReason; }) => void) \| undefined`                                  | Called once as the list nears its end while `hasMore`, and by Retry after a failed load.                                                                                                                                                                                                                    |
| `status?`        | `"error" \| "idle" \| "loading"`                                                                       | How loading more threads is going: `"loading"` shows a loading row at the end, `"error"` an error row with Retry. Default: `"idle"`                                                                                                                                                                         |
| `now?`           | `string \| undefined`                                                                                  | Today, as an ISO date or instant, which picks the date groups and how long ago each row reads ("2h", "3d"). Pass it when the server renders the list, so its markup and the browser's agree; without it, server markup shows each row's date and the browser reads its clock. Default: `todayKey(timeZone)` |
| `locale?`        | `string \| undefined`                                                                                  | A BCP 47 tag for the month, year and relative group names. Defaults to English.                                                                                                                                                                                                                             |
| `timeZone?`      | `string \| undefined`                                                                                  | The IANA time zone that decides a thread's day. Defaults to UTC.                                                                                                                                                                                                                                            |
| `groupLabels?`   | `Partial<Record<"pinned" \| DateGroupKey, string>> \| undefined`                                       | Replaces the fixed groups' words ("Pinned", "Today", "Previous 7 days"), by key.                                                                                                                                                                                                                            |

Vue, Svelte and Solid take the same props. Controlled props and callbacks are spelled as each framework expects:

| React         | Vue           | Svelte        | Solid         |
| ------------- | ------------- | ------------- | ------------- |
| `onSelect`    | `@select`     | `onSelect`    | `onSelect`    |
| `onNew`       | `@new`        | `onNew`       | `onNew`       |
| `onRename`    | `@rename`     | `onRename`    | `onRename`    |
| `onPinChange` | `@pin-change` | `onPinChange` | `onPinChange` |
| `onShare`     | `@share`      | `onShare`     | `onShare`     |
| `onDelete`    | `@delete`     | `onDelete`    | `onDelete`    |
| `onLoadMore`  | `@load-more`  | `onLoadMore`  | `onLoadMore`  |

### Agent [#agent]

An agent connected with `createAgent` finds the list by its label and reads `value`, the current chat. It lists the chats by `id` and title, and every action takes a chat's `id`, refusing an unknown one. Each action is offered only while its callback is set, and `rename` also only while no rename is pending. `select` calls `onSelect` and follows the link unless it's cancelled. `delete` opens the same dialog a person sees, whose **Delete** always needs a person to confirm, unless the host's `allow` lets it through; with `confirmDelete` off it calls `onDelete` at once.

### ThreadListAgentActions

| Prop        | Type                                                       | Description                                                                                                                                                                  |
| ----------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `select`    | `((id: string) => boolean) \| undefined`                   | Follows a thread's link: calls `onSelect`, then goes to its `href` unless cancelled. Offered while `onSelect` is set.                                                        |
| `newThread` | `((event?: Event) => void) \| undefined`                   | Calls `onNew`. Offered while it's set.                                                                                                                                       |
| `rename`    | `((id: string, title: string) => boolean) \| undefined`    | Renames a thread through `onRename`. Offered while it's set and no rename is pending.                                                                                        |
| `pin`       | `((id: string, pinned?: boolean) => boolean) \| undefined` | Pins a thread, or with `false` unpins it; without `pinned`, toggles it. Offered while `onPinChange` is set.                                                                  |
| `share`     | `((id: string) => boolean) \| undefined`                   | Calls `onShare`. Offered while it's set.                                                                                                                                     |
| `delete`    | `((id: string) => boolean) \| undefined`                   | Opens the delete dialog for a thread, whose Delete calls `onDelete`, or calls it at once with `confirmDelete` off. Offered while `onDelete` is set and no delete is pending. |

<Caption>
  Runs in React, Vue, Svelte, Solid and Web Components. On `<kind-thread-list>`, set `threads` as a property, and props are kebab-case attributes, so `confirmDelete` is `confirm-delete`. Each callback needs its attribute (`can-select`, `can-new`, `can-rename`, `can-pin`, `can-share`, `can-delete`, `can-load-more`) and fires an event: `threadselect`, `threadnew`, `threadrename`, `pinchange`, `threadshare`, `threaddelete` and `loadmore`. In a `threadrename` or `threaddelete` listener, call `event.detail.waitUntil(promise)` to hold the rename or keep the dialog open.
</Caption>
