Live data from Hacker News

Show HN: Basecoat – shadcn/UI components, no React required

news.ycombinator.com

61–70 of 79 posts

Re: Show HN: Basecoat – shadcn/UI components, no React required

#62

Very cool! Are you manually porting all components or are you using some sort of automated process?

All manual. It was a bit of work at first, but mostly because I had to decide how to structure them. It's actually quite straightforward to extend and maintain now.

Re: Show HN: Basecoat – shadcn/UI components, no React required

#63

There’s a huge need for this, thank you! I build server-rendered marketing sites and there’s a huge gulf between the jQuery and React era.

Have you played with Alpine.js before? HTMX? I think you can get quite far these days WITHOUT React or Vue.js (and I say that as the maintainer of a Next.js/React open source project [1]). [1]: https://pagescms.org

Yep, I’ve used Alpine extensively and HTMX here and there. Lots of Vue.

There are not sets of polished, battle-tested UI libraries made for server side. Bootstrap ships with JS, but most of the CSS and template frameworks assume you’re using a headless setup.

I thought Web Components might spur things, but not really. React has continued to dominate.

Re: Show HN: Basecoat – shadcn/UI components, no React required

#65

Earlier quoted context omitted.

Have you played with Alpine.js before? HTMX? I think you can get quite far these days WITHOUT React or Vue.js (and I say that as the maintainer of a Next.js/React open source project [1]). [1]: https://pagescms.org

Yep, I’ve used Alpine extensively and HTMX here and there. Lots of Vue. There are not sets of polished, battle-tested UI libraries made for server side. Bootstrap ships with JS, but most of the CSS and template frameworks assume you’re using a headless setup. I thought Web Components might spur things, but not really. React has continued to dominate.

What do you use on the server? Basecoat has Nunjucks and Jinja macros, but I’d like to add more (e.g. blade, liquid, etc). I also plan on building more layout demos (e.g. marketing pages).

Re: Show HN: Basecoat – shadcn/UI components, no React required

#67
post #38
post #28

Earlier quoted context omitted.

Alpine is old school now?

I'd say anything new in 2025 that involves working with the DOM that doesn't use web component is a waste. Lately I have been porting some old JS libraries (7+ years old) that still are visually impressive to web components, and in my experience after porting some libraries there is about 30% fewer lines of code. Before web components there was so much work to get things up and running in the DOM. Alpine.js does this…

I've been using RiotJS when I need partial component support - wasn't an all-in thing like React ; and I thought HTMX and Alpine are also good for these partial upgrades. Maybe WebComponents are fully supported now? (I can't keep up)

Re: Show HN: Basecoat – shadcn/UI components, no React required

#70

This is great! I really like the style of shadcn/ui. Recently I’ve been using ChatGPT to convert shadcn components to JinjaX. Will definitely give yours a try!

Didn't know JinjaX, interesting.

FYI, I have Jinja macros available: https://basecoatui.com/installation/#install-macros

Post reply on HN