Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag Input Component #1091

Open
Svelte-Enthusiast opened this issue Sep 26, 2023 · 5 comments
Open

Tag Input Component #1091

Svelte-Enthusiast opened this issue Sep 26, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@Svelte-Enthusiast
Copy link

Summary

Tag inputs are an input field form that render tags inside the input field, followed by a text input field. Below are examples of implementations in other UI libraries.

https://www.melt-ui.com/docs/builders/tags-input
https://buefy.org/documentation/taginput/

Motivation

Tag inputs are a common and necessary component for most websites. It would be convenient if Flowbite has support for them.

@Svelte-Enthusiast Svelte-Enthusiast added the enhancement New feature or request label Sep 26, 2023
@nash-an
Copy link

nash-an commented Oct 7, 2023

I created an example of what a tags input could look and behave like in the Flowbite library. I am not sure how to make this up to Flowbite standards since I am not very familiar with component creation - so it lives as a Stackblitz example rather than a pull request.

image

@shimulroy842
Copy link

@nash-an I took your example and tried some experiments. here is My Example. It is a Wrap of your example with flowbite-svelte's MultiSelect component. My coding skill is definitely at a noob level so the code is not efficient and cleaner.
image
image

@shiruken1
Copy link

@shimulroy842 this is exactly what I was looking for! Do you have it on Github so I can pitch in coding/maintaining it? Thanks!

@shimulroy842
Copy link

@shiruken1 No I didn't put it on GitHub but you can put it on GitHub and maintain it yourself. Everything is on stackblitz.

@paulhovey
Copy link

@shiruken1 No I didn't put it on GitHub but you can put it on GitHub and maintain it yourself. Everything is on stackblitz.

I just want to say thank you for this! I modified it some to work with the data I was expecting, but upgraded some components to work with Svelte5 better. If it helps anyone, here's a stackblitz example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants