Playing arround with Tags

Hi,

I am playing arround with tags. One thing I noticed is that from the coloring it is a bit limited. I can only select a hover / non-hover state. Wich would also be used for the active state.

Is there a way to overwrite this with Advanced > CSS Classes. Or could we write our own tag component? Just curious if someone needs some more functions.

You could inspect the outputted HTML and target the DOM elements you want with a custom Tailwind class - likely that you’d need to use an arbitrary value for the selector, so something like [>_div]:bg-red-500.

Yes, anyone can write their own Tag component - everything we are doing with tags is available to everyone.

We do plan on adding documentation on how you could integrate your own component(s) with our tags/filter components :slight_smile:

1 Like