themesberg / flowbite-vue

Official Vue 3 components built for Flowbite and Tailwind CSS
https://flowbite-vue.com
MIT License
739 stars 117 forks source link

[Enhancement] Requesting allowing of adding additional classes to components #244

Open kupoback opened 10 months ago

kupoback commented 10 months ago

So I am working with the input fields, and based on what I'm seeing, I am unable to define, change, or add tailwind classes to things like buttons, input field labels or inputs. For example, I'd like to have a label -> input on one row instead of them being on separate rows. I've read through the documentation and just was unable to find a way to do this.

cogor commented 10 months ago

Hey, thank you for issue, that problem is part of issue #192

TissyashriS commented 3 months ago

I am also experiencing this issue on customizing the tailwind classes. Any updates or workarounds would be greatly appreciated.

Sqrcz commented 2 months ago

Hey @TissyashriS

Sorry for the delay with this... We're updating components one by one to enable users to use "class" attribute on them...

<fwb-button> is one of the already updated components (not many of them as of now). When you use class attribute on the button component it will be added to the calculated classes and merged using twMerge package.

Le me know which components are most important to you and I'll try to prioritize them first.

@kupoback I know it's antient issue for you... but just wanted to let you know that I've took over maintenance of this repo... and I'll try to fix all of the issues like that as soon as possible. 🤞