dwyl / learn-tailwind

🌬️ Learn Tailwind CSS to craft pixel-perfect web apps/sites in less time! 😍
https://dwyl.github.io/learn-tailwind
GNU General Public License v2.0
48 stars 3 forks source link

Tailwind UI? #67

Closed nelsonic closed 1 year ago

nelsonic commented 1 year ago

We started using Tailwind CSS last year https://github.com/dwyl/technology-stack/issues/94 and wrote this guide to help others get started. 🚀 At the time we (I) dismissed Tailwind UI because of the license: 💭

image

But do we need to revisit that decision in light of the time it's taking us to build our Calendar SPIKE? ref: https://github.com/dwyl/calendar/pull/25#issuecomment-1517511821

Let's be crystal clear: we are still big proponents of Open Source. We have painstakingly avoided closed source elements in our Tech Stack precisely because we don't want the people using our App to be encumbered by restrictive licenses ...

Can we use Tailwind UI in our Projects / Product? 🤷‍♂️

The Tailwind UI license: https://tailwindui.com/license clearly states:

You can:

image

@ukutaht creator of plausible/analytics which we are using https://github.com/dwyl/technology-stack/issues/127 📈 Confirmed in the following HN thread: https://news.ycombinator.com/item?id=24696145 that they are using Tailwind UI:

plausible-analytics-tailwind-ui

Plausible has an Admin interface, but that is not their product.

Can we use Tailwind UI in Flutter...?

The short answer is No. 🚫

@noirsteed began a port to Dart for use in Flutter: noirsteed/tailwind and noirsteed/tailwind-ui but both projects appear to be "on hold" https://github.com/noirsteed/tailwind-ui/issues/1 ... ⏳ They shared their initial progress on Reddit: https://www.reddit.com/r/FlutterDev/comments/sdigaz/tailwind_and_tailwind_ui_for_flutter/ and were met with negative feedback. 😢 it's a shame.

But maybe we don't need it if we have Material UI: https://docs.flutter.dev/development/ui/widgets/material

Paying to Support Open Source?

To be clear: if we pay for Tailwind UI it doesn't somehow make it Open Source. It's still proprietary. We would just be buying a license to use it in our projects/product.

However the creators of Tailwind UI are Tailwind Labs the creators of Tailwind CSS (Open Source). Tailwind UI is Adam's way of getting paid to do Tailwind Full-time. I support that.

DaisyUI ?

We've looked at Daisy UI https://daisyui.com/components in the past https://github.com/dwyl/technology-stack/issues/94 and #33 ... Sadly, as noted in https://github.com/dwyl/calendar/issues/27 does not have the components we want/need.

daisyui-no-calendar

Can we just use ChatGPT (GitHub Copilot or AWS CodeWhisperer) to Create UI Components for us? 🤖

We can certainly try the AI approach for fun ... 💭 But I get the feeling that's just a time-sink for the time being. ⏳ If what we want is to ship then we should just pay for something that is polished. :shipit:

nelsonic commented 1 year ago

Pricing is pretty straightforward: https://tailwindui.com/all-access

image
nelsonic commented 1 year ago

Crickets ... 🦗

Done. 💸

Screenshot 2023-04-24 at 04 37 13

Note: I went with the "personal" license (€249) during the development of the App because I am a self-funded (bootstrapped) ... no VC/Trust-fund money here ... 🙃 if we ever make a penny off the @dwyl App (i.e. we have paying customers) 🤞 and therefore we can justify paying for additional Devs on our team, 🎉 then I will very gladly upgrade to the "Teams" license and pay another €500 (€749 - €249 =) to Adam & Co. ❤️ But if I'm not making any money from this, and it's just a giant cash sink hole ... 💰 🔥 I feel this is already a good contribution for a zero-marginal cost digital product.

Let's stop wasting time on "Free" UI components that aren't maintained.