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

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

Open
kupoback opened this issue Oct 30, 2023 · 3 comments
Labels
🔧 enhancement New feature or request

Comments

@kupoback
Copy link

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
Copy link
Collaborator

cogor commented Oct 31, 2023

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

@cogor cogor added the 🔧 enhancement New feature or request label Oct 31, 2023
@TissyashriS
Copy link

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

@Sqrcz
Copy link
Collaborator

Sqrcz commented Jun 16, 2024

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. 🤞

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

4 participants