frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Basecoat – All of the shadcn/ui magic, none of the React

https://basecoatui.com
11•hunvreus•1y ago
In a nutshell: Basecoat is a port of shadcn/ui to HTML and Tailwind CSS. It's a modern, themeable component library; everything from buttons to comboboxes and dialogs.

Why? Well, I got sick of React and moved over to a more "old school" stack (Python, HTMX, Alpine.js and Tailwind).

The one thing I missed was shadcn/ui [1]. Nice defaults, well thought out design system, easy to theme and great to build your own component library with.

I didn't find the alternatives compelling: Flowbite, Preline and the likes encourage you to copy/paste dozens of classes for each element.

That's not how I use Tailwind. I love the utility-first approach, but I don't want walls of classes for each button, form element or tooltip I have in my app.

I had been building my own component library for a project I’m working on (a Vercel for Python apps) and realized it may be worth my time to firm things up.

Why I think it's cool? Well:

- No React. Just Tailwind CSS (with a tiny bit of Alpine.js if you choose to). You can use that with whatever stack you want.

- Jinja and Nunjucks macros. I hope to support more template engines.

- 100% compatible with shadcn/ui themes (you can play with the theme select box on the site).

- Super easy to install and use (there's even a CLI).

- Accessible, with ARIA support.

- Did I mention no React?

Hope some of you find it useful.

[1]: https://ui.shadcn.com/

[2]: https://v4.shadcn.com/ (this is actually the new/upcoming version of shadcn/ui).

Comments

drivingmenuts•1y ago
Not working in Safari. Did you, perchance, test this only in Chrome?

A sampling of error messages:

- Failed to load resource: Load cannot follow more than 20 redirections

- Cross-origin script load denied by Cross-Origin Resource Sharing policy.

- TypeError: window.basecoat.registerDialog is not a function. (In 'window.basecoat.registerDialog(Alpine)', 'window.basecoat.registerDialog' is undefined)

- Alpine Expression Error: Can't find variable: sidebar

and so on and so forth. It just goes downhill from there.

hunvreus•1y ago
I tested it in Safari, and just checked: I don't get any of these errors.

Which page did you get that on? The front page?

drivingmenuts•1y ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•1y ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•1y ago
Well done, this looks like a great beginning! I'll be giving this a test on my next project.

Hoping you add more of shadcn/ui, I'm partial to the sheet.

Designing Finger-Friendly Interactions

https://aresluna.org/show-your-hands-honor/
1•prnv10•2m ago•0 comments

Jürgen Habermas Defended Reason in a Darkening Age

https://www.newyorker.com/magazine/2026/06/22/jurgen-habermas-desperate-fight-for-democracy
1•mitchbob•6m ago•1 comments

How to get what's available – game theory and governing dynamics

https://www.tsoon.com/posts/game-theory/
1•mooreds•6m ago•0 comments

ZSTD –auto it picks the optimal compression level for you

https://github.com/detechs-debug/zstd-auto
1•detechs•9m ago•0 comments

An example abstract for conference talks

https://cakehurstryan.com/2026/05/05/an-example-abstract-for-conference-talks/
1•mooreds•12m ago•0 comments

Anthropic uses Persona for identity verification

https://web.archive.org/web/20260415064244/https://support.claude.com/en/articles/14328960-identi...
1•Trung0246•12m ago•0 comments

Scanning malicious websites with 'infinite' number of VPN tunnels (Part 1)

https://discounttimu.substack.com/p/scanning-malicious-websites-with
1•guardiangod•12m ago•0 comments

What I Don't See When I'm Jealous

https://www.mooreds.com/wordpress/archives/3741
1•mooreds•13m ago•0 comments

A simple self-hosted service to generate per-serving macros of online recipes

https://github.com/harrisonfaulkner/recipe-macros-scraper
1•entitledosprey•14m ago•1 comments

While the World Scrambles for Oil, China Sits on Full Tanks

https://www.nytimes.com/2026/06/21/business/china-oil-iran.html
1•mikhael•18m ago•0 comments

The Inevitable Weakness of Metrics

https://www.technologyreview.com/2026/06/19/1138778/inevitable-weakness-metrics-quantified-life-b...
1•joozio•21m ago•0 comments

Tell HN: Happy Fathers Day to all the fathers, uncles, anyone in that role!

35•consumer451•22m ago•3 comments

Designing Teams for an Agentic World

https://www.anup.io/designing-teams-for-an-agentic-world/
1•zdw•22m ago•0 comments

Show HN: Hands on tutorial for open source contribution

https://github.com/firstcontributions/first-contributions
1•Mohamed-Edeeb•25m ago•0 comments

Burnout Is Real in the OSS World, Says John-David Dalton, Creator of Lodash

https://openjsf.org/blog/burnout-is-real-for-open-source-maintainers
3•theanonymousone•26m ago•0 comments

DokuWiki Markdown Support

https://www.patreon.com/dokuwiki/posts/dokuwiki-support-158080793
2•thunderbong•27m ago•0 comments

The Disappearance of Japan's Animators

https://economist.com/interactive/1843/2026/06/19/the-strange-disappearance-of-japans-animators
2•andsoitis•30m ago•0 comments

Some Favorite Quotes

https://www.cs.virginia.edu/~evans/quotes.html
2•jruohonen•32m ago•0 comments

AI is a mass psychotic delusion [video]

https://www.youtube.com/watch?v=WNiSUGCC-gY
15•jmount•33m ago•4 comments

Show HN: I built notion to docs website generator

https://volta-docs.myurll.in/
2•nookeshkarri7•33m ago•0 comments

What Does OO Afford? (2018)

https://sandimetz.com/blog/2018/21/what-does-oo-afford
3•mooreds•36m ago•0 comments

Show HN: A Browser Built for Browser Automation

https://github.com/tilework-tech/nori-browser/
2•theahura•39m ago•0 comments

Beyond Visibility: The Linkage Gap

https://zenodo.org/records/20761232
2•tas101•40m ago•0 comments

NVFP4 Blockscaled GEMM on NVIDIA RTX Pro Blackwell GPUs (SM12x)

https://research.colfax-intl.com/cutlass-tutorial-nvfp4-blockscaled-gemm-on-nvidia-rtx-pro-blackw...
1•matt_d•40m ago•0 comments

The Minimum Viable Unit of Saleable Software

https://brandur.org/minimum-viable-unit
8•brandur•41m ago•0 comments

Thoughts

https://felleisen.org/matthias/Thoughts/index.html
2•jruohonen•42m ago•0 comments

OpenDroneMap's Documentation

https://docs.opendronemap.org/
2•mooreds•43m ago•0 comments

Show HN: Zither – paste JSON/CSV/a spreadsheet table, stats instantly, no AI

https://zither-zeta.vercel.app/
1•bluecomputing•43m ago•0 comments

Bonfires in the Dark: Ritual, Science, and AI as Compression Interfaces

https://bartoszlenart.com/blog/bonfires-in-the-dark
2•grasant•45m ago•0 comments

Can I offer "login with yahoo" using FusionAuth?

https://fusionauth.io/community/forum/topic/3013/can-i-offer-login-with-yahoo-using-fusionauth
1•mooreds•46m ago•0 comments