Skip to Content
Notion UI

Tags Input

Add and remove tags in a text field.

Tags Input Default

<TagsInput
  placeholder="Search name or emails"
  value={{ tags, input }}
  onTagsChange={setTags}
  onInputChange={setInput}
/>

Installation

pnpm add @notion-kit/ui

API Reference

TagsInput

Prop

Type

TagOption

Each tag can be a string or an object with a value and an optional color. Color is exported by @notion-kit/utils.

Prop

Type

On this page