-
Notifications
You must be signed in to change notification settings - Fork 269
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
Tailwind CSS integration with formio/react #530
Comments
I'm having the same issue and as a workaround, I'm using mentioned package P.S. This is an issue and I couldn't find anything related to it. Looking forward to the contributor's reply. |
Very insightful, it can work, but the issue is I have to override much or almost all of the given styling as I am using custom theming with tailwind and it may or may not work with this 😕 😞 |
@Kawixh To answer your questions: I think the best way to handle your needs would be to create a custom component/template library through a plugin. You can take a look at the example of an existing one (OSS support for USWDS design system https://github.com/formio/uswds). That way you can override the component logic, as well as component templates that should be changed at your preference. And then plugin can be used by Formio.use([name of the plugin]) in your app. You can also try to use @tsed/tailwind-formio, and then, when needed, manually override Component logic through redefining Formio.Components.components.[name of the component that needs an override]. |
After 1 year :) @Kawixh |
We are exploring Tailwind in the long term, but as far as sourcing a developer to create an example right now would require paid support ([email protected]). Otherwise, it would probably be best to reach out to the maintainers of https://github.com/tsedio/tsed-formio |
I am working on a new project that requires custom forms to be build using formio, I was initially using formio.js package in Rails 5.x and have a OK understanding of formio.
My setup:
Framework: NextJS
Framework version: 13.x
NodeJS version: 20.5.x
Tailwind CSS: 3.x
Now that I am transitioning to tailwind, I was looking into how to integrate it with formio/react. After a bit of search I found few solutions:
I have few questions regarding this issue:
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: