Live data from Hacker News

Vanilla JavaScript support for Tailwind Plus

tailwindcss.com

1–10 of 202 posts

Re: Vanilla JavaScript support for Tailwind Plus

#2
Would love to know how they went about implementing these. I always find custom elements interesting. I know the guys over at data-star.dev used one to implement their inspector element, but unfortunately that is also behind pro.

I know Lit is used a lot but I’m always looking for new approaches.

Re: Vanilla JavaScript support for Tailwind Plus

#6
This is a exciting use-case for custom elements, and probably how tailwind should have been implemented from the start, but it’s hilariously a paid feature?! (https://tailwindcss.com/plus#pricing) Intuitively, I’d expect the custom elements to be free and the framework integrations to cost money.

Re: Vanilla JavaScript support for Tailwind Plus

#7

This is a exciting use-case for custom elements, and probably how tailwind should have been implemented from the start, but it’s hilariously a paid feature?! ( https://tailwindcss.com/plus#pricing ) Intuitively, I’d expect the custom elements to be free and the framework integrations to cost money.

Tailwind Plus is a paid collection of UI components and templates.

TailwindCSS itself is meant to be nothing more than a styling tool, like Bootstrap...

Re: Vanilla JavaScript support for Tailwind Plus

#8

Would love to know how they went about implementing these. I always find custom elements interesting. I know the guys over at data-star.dev used one to implement their inspector element, but unfortunately that is also behind pro. I know Lit is used a lot but I’m always looking for new approaches.

It's explained in the post.

Re: Vanilla JavaScript support for Tailwind Plus

#9
post #7

This is a exciting use-case for custom elements, and probably how tailwind should have been implemented from the start, but it’s hilariously a paid feature?! ( https://tailwindcss.com/plus#pricing ) Intuitively, I’d expect the custom elements to be free and the framework integrations to cost money.

Tailwind Plus is a paid collection of UI components and templates. TailwindCSS itself is meant to be nothing more than a styling tool, like Bootstrap...

The title of the blog post mentions Tailwind Plus so I’m assuming it’s a paid feature. The ambiguity is probably intentional.

Re: Vanilla JavaScript support for Tailwind Plus

#10
Tailwind is fine, but I do find it humorous that they discourage wrapping up tw classes into a component class ala Bootstrap, but they wrap html up like this:

    
      
        Options
      
      
      ...
      
    

Bootstrap:

    
      
        Dropdown button
      
      
        ...
      
    
(I realize you have full control over looks with TW, but Bootstrap and others have utility classes too for the common stuff.)
Post reply on HN