shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
69.07k stars 4.09k forks source link

[feat]: Add tag input component #4606

Open aumirza opened 3 weeks ago

aumirza commented 3 weeks ago

Feature description

A component which lets us add tag input with and without autocomplete.

Without auto complete

https://github.com/user-attachments/assets/0d2af048-e644-4b21-bd31-f5b3a8dad4b2

With auto complete

https://github.com/user-attachments/assets/b5a0c56d-4b50-4ee4-8b92-ac256f2331fe

But with create new tag too.

Please let me know, if i can add it.

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

goatstpokemon commented 3 weeks ago

Looks good. Other users beware, the music is loud in the video's

aumirza commented 3 weeks ago

Looks good. Other users beware, the music is loud in the video's

Didn't notice it before. (😂) Removed the audio.

adityayaduvanshi commented 2 weeks ago

I can implement this component. Please assign this feature to me.

JaleelBennett commented 2 weeks ago

I made a tag input component last year: https://emblor.jaleelbennett.com/introduction

Give it a go and let me know what you think

goatstpokemon commented 1 week ago

@JaleelBennett looks really good, but seems like it requires another package, right?

aumirza commented 1 week ago

@JaleelBennett looks really good, but seems like it requires another package, right?

yep, why not include it in shadcn-ui.