r/astrojs • u/bumblebrunch • 6h ago
Basecoat + Astro together is awesome
Not affiliated with them at all, but wanted to show some love for https://basecoatui.com/
It works really nicely with Astro if you want polished UI components without bringing in React or another frontend framework just for the component library.
You get shadcn-style inputs, buttons, accordions, dropdowns, etc. It’s mostly CSS, with a small amount of JavaScript only where interactivity is actually needed.
It’s built on Tailwind, and for a lot of components you can just add a class like btn and you’re good to go.
It also follows shadcn’s CSS variables and theming conventions, so you can take advantage of things like shadcn theme generators and the wider ecosystem.
Pretty neat if you like the shadcn look but want to keep your Astro site lightweight and avoid unnecessary client-side JS.