Tag Picker
A Notion like Tag Picker is used to select one or more tags from a list.
Multi Tag Picker
Single Tag Picker
Tag Picker without defaultTags
Tag Picker with Icon
You can add an icon of lucide-icons
through the icon
prop
With Popover
API Reference
Prop | Type | Default |
---|---|---|
selectedTags* | Array<TagType> | ─ |
onTagSelected* | (tag: TagType) => void | ─ |
onTagRemove* | (tagId: string) => void | ─ |
defaultTags | Array<TagType> | ─ |
listClassName | string | ─ |
icon | LucideIcon | ─ |