Docs
Introduction

Introduction

A highly customizable, accessible, and fully-featured tag input component built with shadcn/ui.

These are the topics that you're interested in.

Installation

To install Emblor, run the command:


# NPM
npm install emblor
# Or, use any package manager of your choice.

Usage

import { TagInput } from 'emblor';
 
<TagInput
  {...field}
  placeholder="Enter a topic"
  tags={tags}
  // using Shadcn input styling
  className="sm:min-w-[450px]"
  setTags={(newTags) => {
    setTags(newTags);
    setValue('topics', newTags as [Tag, ...Tag[]]);
  }}
/>;

And that's it! You have successfully integrated Emblor into your project. 🎉