Show HN: Basis UI – A Shadcn-Style UI Library for Astro JavaScript

2 Zhengyi 0 9/3/2025, 4:51:04 AM basis.zhengyishen.com ↗
I started my JavaScript journey with React and NextJS. But the more I worked with them, the deeper I questioned myself. Because even though React and NextJS are as powerful as hell, most of my needs in my web app development are just Database CRUD + Auth + Markdown Display. (It's my problem, not React's, I know...) And I found myself spending more time tinkering with the toolings and configs of the framework rather than coding the actual design and logic.

There I started my search for the minimum JavaScript framework on which I can focus on what actually matters. I loved Svelte for two months, and then I found Alpine (from a blog talking about the "AHA stack")!

Though Alpine itself is not a complete solution as a JS framework, I love its simplicity and paired it with Astro, which can solve the component issue Alpine has.

But mature frameworks like React and Vue have an unbeatable advantage over my minimum Astro-Alpine stack -- they have prebuilt component libraries like Shadcn, Radix, or NuxtUI.

So I built Basis UI, a Shadcn-like UI library for minimum SSG frameworks like Astro (I'm also considering extending it to 11ty and Nue.js). So we can enjoy the dev experience like stacking LEGO blocks purely in Astro without choosing React/Vue/Svelte.

It's still in beta, so have fun playing with it, but don't use it for anything serious :P

Comments (0)

No comments yet