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

Tailwind integration #39

Open
Spone opened this issue Jul 9, 2021 · 2 comments
Open

Tailwind integration #39

Spone opened this issue Jul 9, 2021 · 2 comments
Labels
nice to have We are not working on it but we're open to contributions

Comments

@Spone
Copy link
Collaborator

Spone commented Jul 9, 2021

Similar to what SimpleForm does with Bootstrap, it would be great if we can find a way to "enable" a Tailwind compatible mode, where the HTML generated by the ViewComponents is compatible with Tailwind CSS.

The idea is not to add a dependency to Tailwind, but make view_component-form play nicely with Tailwind if it's already included in the project.

@nicolas-brousse nicolas-brousse added the discussion Let's discuss ideas and features label Jul 9, 2021
@Spone Spone added nice to have We are not working on it but we're open to contributions and removed discussion Let's discuss ideas and features labels Feb 2, 2023
@coder2000
Copy link

As Tailwind is more of a set of building blocks for CSS than Bootstrap is shouldn't it be integration with something like Daisy UI or Flowbite instead?

@Spone
Copy link
Collaborator Author

Spone commented Feb 8, 2023

I guess my first idea was simply to allow users to easily set CSS classes for each kind of field (so that you can specify the Tailwind CSS classes).

But I'm not a Tailwind user, so feel free to suggest your ideal approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice to have We are not working on it but we're open to contributions
Projects
None yet
Development

No branches or pull requests

3 participants