Live data from Hacker News

HTML-first, framework-agnostic implementation of shadcn/UI – franken/UI

franken-ui.dev

151–160 of 193 posts

Re: HTML-first, framework-agnostic implementation of shadcn/UI – franken/UI

#153
> I mean you do not install it as a dependency. It is not available or distributed via npm.

> You can use the diff command to check for updates against the registry.

Isn't that a contradiction? So they do offer automatic importing & updating but refuse to use the infrastructure everyone else is using and instead copy/paste their files directly into your project with their cli?

Re: HTML-first, framework-agnostic implementation of shadcn/UI – franken/UI

#155

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.

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/UI – franken/UI

#157
post #151

It doesn't seem HTML-first though. Also the Github description says it's a library of web components, this may be misleading because this project doesn't use Web Components.

I wasn't expecting it to use Web Components, I guess that's what happens when you give something a generic name. Similarly if some company named a code editor Code.

Re: HTML-first, framework-agnostic implementation of shadcn/UI – franken/UI

#158

This is definitely not HTML first, though. This is TS first, JS second, CSS third, and only then, HTML last. I'm all for clean frameworks, but this is very far removed from the idea of putting HTML first.

Yes - absolutely misleading. At least the name seems to originate from „Frankenstein“ which perfectly matches.

Re: HTML-first, framework-agnostic implementation of shadcn/UI – franken/UI

#160
post #127

Earlier quoted context omitted.

I'd really like a set of elements like this that is truly HTML + CSS. Vanilla. Layer on some _optional_ JS for some enhancements. But this franken element requires JavaScript to even render. Same for the tooltip, leader, cover, totop, ++ components; all of which can be done with HTML and CSS. Fine, write your HTML is JS, but that isn't "HTML first". edit: I stand corrected. the form will render without JS. The tab el…

DaisyUI offers zero-JS components https://daisyui.com/ I used it for a small form + search result list recently and it works well enough for simple / static stuff. But I think I'll still be reaching for a JS lib first since I'd miss things like inputs-with-autocomplete too much.

See also Bulma; you can totally get by without JS for most projects, though again, you'll miss out on the more interactive things.
Post reply on HN