Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
pashword
๐ Pashword - Never forget passwords ever again! Free and Open Source Hashed Password Generator
-
daisyui
๐ผ ๐ผ ๐ผ ๐ผ ๐ผ โThe most popular, free and open-source Tailwind CSS component library
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Then use something like clsx
Iโm using https://www.npmjs.com/package/classnames but only for conditional logic; not for the sole purpose of readability. Thatโs not what these tools are made for.
Just take a look here: https://github.com/pashword/pashword/blob/main/pages/index.tsx
TwClassed - Write Reusable Tailwind components
I find the combination of tailwind and a tailwind based components(like DaisyUI)a perfect combination for having components without losing flexibility.
Related posts
- Is it okay to split long lists of class names across multiple lines? Why don't you?
- TailwindCSS & Template Literals
- Why do experienced front-end developers use CSS frameworks?
- what's the best way for styling our components in react?
- What are ways we can integrate our designers into our React projects?