view_component-form icon indicating copy to clipboard operation
view_component-form copied to clipboard

Tailwind integration

Open Spone opened this issue 4 years ago • 2 comments
trafficstars

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.

Spone avatar Jul 09 '21 13:07 Spone

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?

coder2000 avatar Feb 07 '23 15:02 coder2000

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.

Spone avatar Feb 08 '23 15:02 Spone