frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•10mo 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•10mo 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•10mo 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•10mo ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•10mo ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•10mo 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.

Show HN: Repovex – GitHub repo health scores for your whole org

https://repovex.com
1•calminferno•7s ago•0 comments

Front End Memory Leaks: 500-Repo Static Analysis and 5-Scenario Benchmark Study

https://stackinsight.dev/blog/memory-leak-empirical-study/
1•nadis•3m ago•0 comments

Visual plasticity and exercise revisited: No evidence for a "cycling lane"

https://jov.arvojournals.org/article.aspx?articleid=2737222
1•amadeuspagel•5m ago•0 comments

Google and Tesla think we're managing the electrical grid all wrong

https://techcrunch.com/2026/03/10/google-and-tesla-think-were-managing-the-electrical-grid-all-wr...
1•jnord•5m ago•0 comments

I've no technical background, hope someone finds this interesting

https://github.com/aleflow420/rinoa
1•aleflow420•5m ago•0 comments

GLP-1 drugs push U.S. consumers toward spicy foods, lifting sauce makers

https://www.reuters.com/business/healthcare-pharmaceuticals/sauce-spice-makers-attract-deal-inter...
1•petethomas•5m ago•0 comments

Television and computer use and dementia risk in older adults

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.71259
2•amadeuspagel•7m ago•0 comments

Modern Compiler Design: C Implementation Details [pdf] (2004)

https://www.cs.usfca.edu/~galles/compilerdesign/cimplementation.pdf
2•turtleyacht•7m ago•1 comments

Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet

https://twitter.com/tplr_ai/status/2031388295972929720
2•rzk•8m ago•0 comments

Dox with Grok

https://mattsayar.com/dox-with-grok/
1•ohjeez•9m ago•0 comments

Ask HN: What's your favorite "what would SWEs do in 1-3 year from now?"

1•itissid•13m ago•0 comments

The Situation: Thinking About Anthropic's Red Lines

https://www.lawfaremedia.org/article/the-situation--thinking-about-anthropic-s-red-lines
2•hn_acker•14m ago•0 comments

Military AI Policy by Contract: The Limits of Procurement as Governance

https://www.lawfaremedia.org/article/military-ai-policy-by-contract--the-limits-of-procurement-as...
2•hn_acker•15m ago•0 comments

Ask HN: How to "make it" as a newlygrad/junior?

2•kartoffelsaft•17m ago•1 comments

Credit Bureaus Are Leaving More Mistakes on Frustrated Consumers' Reports

https://www.propublica.org/article/credit-report-mistakes-cfpb-experian-transunion
3•hn_acker•19m ago•1 comments

They Feel Bugs Inside Them. Doctors Don't Know Why

https://www.nytimes.com/2026/03/09/opinion/diagnosis-delusional-infestation-bugs.html
2•bookofjoe•19m ago•1 comments

Enamored with Macy

https://addisoncrump.info/research/enamored-with-macy/
1•todsacerdoti•20m ago•0 comments

Treasure hunter freed after decade of refusing to reveal site of shipwreck gold

https://www.cbsnews.com/news/tommy-thompson-treasure-hunter-ship-of-gold-missing-coins-released-p...
2•rgovostes•23m ago•0 comments

Needle in the haystack: LLMs for vulnerability research

https://devansh.bearblog.dev/needle-in-the-haystack/
1•rzk•24m ago•1 comments

Universal vaccine against respiratory infections and allergens

https://med.stanford.edu/news/all-news/2026/02/universal-vaccine.html
21•phony-account•25m ago•4 comments

U+237C ⍼ Is Azimuth

https://ionathan.ch/2026/02/16/angzarr.html
15•cokernel_hacker•25m ago•3 comments

MuskMeter – Minute-by-minute Musk metrics

https://www.muskmeter.live/
1•rob•28m ago•0 comments

AI should help us produce better code

https://simonwillison.net/guides/agentic-engineering-patterns/better-code/
2•simonw•29m ago•1 comments

Cloudflare Crawl Endpoint

https://developers.cloudflare.com/changelog/post/2026-03-10-br-crawl-endpoint/
8•jeffpalmer•32m ago•0 comments

Nasdaq Partners with Kraken in Plan for 24/7 Tokenized Stock Trading

https://www.wsj.com/finance/stocks/nasdaq-partners-with-kraken-in-tokenization-push-135e8112
1•gmays•33m ago•0 comments

Hill-Climbing: Why Your AI Agent Wastes Half Its Brain Before Writing Any Code

https://twitter.com/notadamking/status/2031445395369504774
1•adamjking3•36m ago•0 comments

From millions of dollars to under a grand: The dramatic fall of the NFT

https://english.elpais.com/culture/2026-03-10/from-millions-of-dollars-to-under-a-grand-the-drama...
1•geox•37m ago•1 comments

Freedesktop Closes Controversial Age Verification API Proposal

https://linuxiac.com/xdg-age-verification-interface-proposal-closed/
3•miohtama•38m ago•0 comments

US and EU sanctions have killed 38M people since 1970 (2025)

https://www.aljazeera.com/opinions/2025/9/3/us-and-eu-sanctions-have-killed-38-million-people-sin...
4•abdelhousni•40m ago•3 comments

Enzyme as Maxwell's Demon: Steady-State Deviation from Chemical Equilibrium

https://arxiv.org/abs/2503.17584
3•PaulHoule•44m ago•0 comments