News for hackers. Stuff that matters.
Re:HTML-first, framework-agnostic implementation of shadcn/U... by lenkite on Tuesday April 23, 2024 @03:09AM (#40129353)
Why is this advertised as HTML-first and framework-agnostic ? It directly leverages tailwind and UIKit libraries. That is NOT framework agnostic by any means.
Re:HTML-first, framework-agnostic implementation of shadcn/U... by codetrotter on Tuesday April 23, 2024 @05:57AM (#40130215)
When they say framework-agnostic they are talking about not being dependent on using React.

> Who is Franken UI for?

> Franken UI is tailored for small teams and solo developers seeking a beautiful, reliable CSS framework without the complexity of React, Vue, or Svelte. It's designed with an "HTML-first" approach, making it accessible to developers at any skill level.

https://www.franken-ui.dev/docs/introduction

As opposed to the shadcn ui

> Which frameworks are supported?

> You can use any framework that supports React.

> Next.js, Astro, Remix, Gatsby etc.

https://ui.shadcn.com/docs

Re:HTML-first, framework-agnostic implementation of shadcn/U... by nsonha on Tuesday April 23, 2024 @11:03PM (#40140019)
> not being dependent on using React

it's not about not-being-something, more like the component created by UI kit will function regardless of any framework you use, or the lack of one.

Re:HTML-first, framework-agnostic implementation of shadcn/U... by Capricorn2481 on Tuesday April 23, 2024 @09:31AM (#40131764)
Tailwind is just a convenience compiler for CSS, it's hardly a framework.
Re:HTML-first, framework-agnostic implementation of shadcn/U... by jasaldivara on Tuesday April 23, 2024 @01:36PM (#40134695)
There are Javascript frameworks and CSS frameworks. Tailwind is the later one. Even the Tailwind front page describes it as a CSS framework.
Re:HTML-first, framework-agnostic implementation of shadcn/U... by 9dev on Tuesday April 23, 2024 @04:14PM (#40136735)
That’s technically true, but anyone I know in the field would immediately understand what is meant by framework agnostic in this case. Unless we’re being pedantic for the sake of it, of course.
Re:HTML-first, framework-agnostic implementation of shadcn/U... by cqqxo4zV46cp on Tuesday April 23, 2024 @05:25PM (#40137494)
Yes. I immediately knew what it meant. GP is being needlessly literal. Language is a communication tool. I, as the audience, was communicated to as intended. I’m not sure what this pedantry does for anyone.
Re:HTML-first, framework-agnostic implementation of shadcn/U... by nsonha on Tuesday April 23, 2024 @11:01PM (#40140007)
by that logic nothing is a framework, everything "compiles" to js and css
Re:HTML-first, framework-agnostic implementation of shadcn/U... by Capricorn2481 on Wednesday April 24, 2024 @06:08PM (#40150401)
I didn't say it wasn't a framework because it compiles. I would expect framework to be a large shift in how you write or structure code. But there's no agreed definition.