Our great sponsors
-
shadcn/ui
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
-
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.
But of course, it is a button, so it could have multiple variants: primary and secondary(you can increase the number of customizable params, but we will limit it to 1, variant). To implement this you can use any library for combining classnames, for example, classnames, clsx. Let’s use the classic one, "classnames".
Examples: radix-ui, chakra-ui, shadcn/ui, tailwind-ui.
Since Tailwind is a PostCSS plugin, we can also add cssnano plugin to compress the bundle.
Examples: radix-ui, chakra-ui, shadcn/ui, tailwind-ui.